includes in header files and forward declarations

Patrick Julien freak at codepimps.org
Mon Jan 19 15:28:32 CET 2004


On January 19, 2004 08:45 am, Boudewijn Rempt wrote:
> Patrick,
>
> Do you have any preference -- Is there any rule I should follow in this
> regard? E.g., always use forward declarations in header files and put the
> include in the implementation? I was just made aware of this from reading
> Quanta's HACKING file, which is completely opposite to the Krita hacking
> standards in almost every regard :-), and I was wondering what I should do.

I'm not sure what you are talking about?  What does the Quanta HACKING file 
say?

I prefer forward declarations to answer your question tho.



More information about the kimageshop mailing list