Boost logo

Boost :

From: Benoit (benoit.casoetto_at_[hidden])
Date: 2008-08-20 03:41:55


> Would it practical to add a rule of thumb to the developer guidelines that
> library developers should offer a fwd declaration header for their library
> when possible?

I second this question. In fact, i am wondering whether it would not
be even more effective to suggest the separation of each (public)
template class into 3 different header files : one containing a
forward declaration header, one containing the template class
definition and the last one with the definition of its member
functions.
That would make it possible to easily separate the compilation of
boost classes (or at least their methods) from that of user-defined
classes.

Not sure if this has ever been proposed, but i would certainly like that.
Thanks !

Benoît Casoetto


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk