
20 Jul
2012
20 Jul
'12
1:19 p.m.
On 19-07-2012 18:00, Jochen Wilhelmy wrote:
Hi!
is it possible to make += also work for containers on right side?
Many things are possible in C++.
i.e. int a; std::vector<int> b; std::list<int> c; std::vector<int> d; d += a,b,c,d;
this would be similar to strings where += at least works with one string on the right side.
You could maybe do push_back( d ).range( a ).range( b ).range( c ).range( d ); -Thorsten