21 Nov
2007
21 Nov
'07
9:30 p.m.
On 21/11/2007, chun ping wang
Hi, since ptr_vector are non copyable, how would i got baout making assignment from one ptr_vector to another..
i.e. ptr_vector<Foo> t; ptr_vector<Foo> t2; // some coding. t = t2;
.assign with an iterator range, perhaps? And IIRC the new version of ptr_containers will have (already has?) operator= defined so your code above would work. (With the expected, fairly expensive, semantics.) ~ Scott