Project

General

Profile

Feature #1061

add an include file with forward declarations

Added by Arjan Vermeij over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/15/2011
Due date:
% Done:

0%

Estimated time:

Description

What about adding an include file with forward declarations of all classes exported by witty? Attached my attempt at such a file.

In my code I can then say

#include <Wt/forward.h>

without the need to add forward declarations for individual classes.

You could use this include file for witty's own .cpp files as well.


Files

forward.h (4.45 KB) forward.h Arjan Vermeij, 11/15/2011 01:22 PM
#1

Updated by Koen Deforche over 10 years ago

Hey Arjan,

Actually Wt/WGlobal does that already.

Regards,

koen

#2

Updated by Arjan Vermeij over 10 years ago

I knew it was a good idea!

Thanks. Arjan.

#3

Updated by Koen Deforche over 10 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.2.0

:-)

koen

#4

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF