Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2006-08-04 05:07:18


Dear all,

it seems that the pointer container library does not interfere well with
back_inserter, i.e.

boost::ptr_vector<int> v2;
std::back_insert_iterator< boost::ptr_vector<int> > b(v2);
b.operator=(new int); //forget it

This is unfortunate, because now a lot of STL (or our own adapters) containers
can't be used (e.g. std::transform, std::generate_n)

Wkr,
me


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