Boost logo

Boost :

From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2005-07-05 17:34:38


Jody Hagins wrote:

> > Of course an alternative would be for
> > <boost/serialization/shared_ptr.hpp> to include
> > .../shared_ptr_132.hpp but I thought people without old archives
> > would object to that - as I would personally.
>
> Sounds like a preprocessor definition should be used instead, and then
> serialization/shared_ptr.hpp can optionally include the 132 header
> file, if the apprpriate definition for use-132-shared-ptr exists...
>
> This effectively hides it from everyone, and only those who need it
> would make the appropriate definition...

Definitely a step in the right direction, but it does not remove the
need for shared_ptr_132.hpp to check for the header-guard of
serialization/shared_ptr.hpp and flag errors on mis-use.

Belt AND braces if you please <g>

-- 
AlisdairM

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