28 Apr
2009
28 Apr
'09
6:29 p.m.
{ scoped_timer timeme("merge by FOR_EACH: "); std::for_each( data_setB.begin(), data_setB.end(),std::inserter(data_setA)); }
The compiler gives long error on: error: no matching function for call to 'inserter(boost::multi_index::multi_index_container etc....
What is the correct syntax of the inserter with multi_index_container ?
std::for_each(data_setB.begin(), data_setB.end(), std::inserter(data_setA, data_setA.end()));