5 Feb
2014
5 Feb
'14
12:07 p.m.
On 05-02-2014 10:49, John M. Dlugosz wrote:
Given a boost::container::vector<C> vec; I can write vec.push_back(move(value)) for a move-only (non-copyable) type C, instead of vec.push_back(value) as usual. But what would I write instead of vec.insert(pos,b,e) where (b,e] is a range of values?
boost::push_front( vec, range ) ? http://www.boost.org/doc/libs/1_55_0/libs/range/doc/html/range/reference/alg... -Thorsten