Boost logo

Boost Users :

Subject: [Boost-users] [ptr container] up to date?
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2014-07-22 09:37:29


Hello,

I am considering putting Boost Pointer Container to use in an
application to help with, among other things, the polymorphic slicing
issue. I've got a domain model which potentially has exactly that
creeping in, vector of shared_ptr to base class, with heterogeneous
vector composition.

http://www.boost.org/doc/libs/1_55_0/libs/ptr_container/doc/ptr_container.html

I was reading a lot of references to std::auto_ptr, which is a
deprecated feature these days
(http://www.cplusplus.com/reference/memory/auto_ptr/). Also the last
update was in 2007 or thereabouts. Is this up to date with current
language features such as std's?, i.e. std::unique_ptr,
std::shared_ptr?

Just generally, this is a fitness for use query.

Thank you...

Best regards,

Michael Powell


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net