8 Jul
2013
8 Jul
'13
4:13 a.m.
On Sun, Jul 7, 2013 at 8:27 PM, Andrey Semashev
...or even shared_ptr< array<...> >?
One advantage of boost::shared_ptr
Why not simply use vector or shared_ptr< vector<...> >?
If what he really wants is a std::vector<T>, this is a good
alternative. If not, he pays for a few things you may not use: e.g.
one additional allocation compared to boost::shared_ptr