Boost logo

Boost :

From: cppljevans_at_[hidden]
Date: 2003-10-07 15:56:36


On 10/07/2003 03:05 PM, Fernando Cacciola wrote:
> cppljevans_at_[hidden] wrote:
[snip[
> What doesn't work with new_policied.cpp exactly?
>
> The code in the attachement alone looks fine to me,
>
> so why desn't it work?
(followup to my last post)... Or maybe you meant that
I could follow the method used in:
     boost/detail/typed_in_place_factory_prefix.hpp
and create a new marcro, similar to
   BOOST_DEFINE_TYPED_INPLACE_FACTORY_CLASS
and just substitute in changes I needed. Is that right?
For example, instead of TypedInPlaceFactoryBase I would
use auto_ptr<boost::compressed_pair<StoragePolicy,Referent> >.
Is that your meaning?


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