
4 Aug
2006
4 Aug
'06
9:07 a.m.
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