Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-02-10 08:04:47


> I rather like John Maddock's scoped_ptr variant that has a static
'deleter'
> member, enabling its destructor to do the right thing with incomplete
types.
>
> What do you think?

One possible issue: how do compilers handle static data members of
template classes, I seem to remember some versions of gcc having a problem
with this (linker errors if the class is used in multiple translation
units)?

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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