Boost logo

Boost :

Subject: Re: [boost] [Modularization] unique_ptr (interprocess/smart_ptr) and SmartPtr
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-06-06 13:24:02


Le 05/06/14 00:27, Ion Gaztañaga a écrit :
> 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.
>
>
Ok, let start by unique_ptr. Peter, would you accept a new unique_ptr in
SmartPtr?

Vicente


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