Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-04-27 14:24:11

> you're analogy with vector<string> don't quite fit IMO. assigning
> vector<string> might be quite efficient with very few
> heap-allocations taking place; assigning ptr_vector<Foo> would cost the
> same
> as copy-construction + deallocation.

IMO no performance point could justify omitting assignment operator. If I
need vector<ptr_vector<Foo> > - it's my decision and I will deal with
performance penalties.


Boost list run by bdawes at, gregod at, cpdaniel at, john at