[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: includes in header files and forward declarations
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2004-01-19 14:46:58
Message-ID: 200401191546.58830.boud () valdyas ! org
[Download RAW message or body]

On Monday 19 January 2004 15:28, Patrick Julien wrote:

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

13. Avoid inclusions in header files. Use forward declarations instead, like:
   Header file:
     class Foo;
     class Foo2{
       Foo* m_foo;
     }
   Implementation file:
     #include "foo.h"

>
> I prefer forward declarations to answer your question tho.
>

Okay -- I will try to do that.
-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic