Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (shw_at_[hidden])
Date: 2007-05-26 07:42:46


Hi!

> d.push_back( g.clone() );
>
> > Because ptr_vector is not copy-constructable. That is the same reason
> > why you can't use it inside a STL container.
>
> In 1.35 I plan to change this so all ptr containers can be copied.

OK. I understand.

> I still don't recommend vector< ptr_vector<T> >, but I'll let the user
> decide when he wants to copy.

This is reasonable.

My point of view touch the constant fields. So blocking assignment is still
useful, because in fact many fields are constant, but copy is allowed for
constant fields.

Thanks for all for the help.

Regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
 \/\/ 

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