6 Jun
2014
6 Jun
'14
5:24 p.m.
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