|
Boost : |
Subject: Re: [boost] [Modularization] unique_ptr (interprocess/smart_ptr) and SmartPtr
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-06-04 18:27:24
El 04/06/2014 13:28, Vicente J. Botet Escriba escribió:
> Hi,
>
> what about moving|boost/interprocess/smart_ptr/* to module SmartPtr?|
Maybe they are not generic enough.
I think the only half-generic type is unique_ptr, but we should have a
better implementation in SmartPtr and Interprocess should depend on that.
boost::interprocess::shared_ptr is a special case since a
non-polymorphic implementation is needed to place reference counted
smart pointers in shared memory.
boost::scoped_ptr could be updated to support non-trivial pointer types
and Interprocess could depend on that implementation.
Best,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk