glwu / mili

Automatically exported from code.google.com/p/mili
Boost Software License 1.0
0 stars 0 forks source link

copy_container vs append_container #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please add a new append_container function that does what copy_container 
currently does.
In copy_container, just invoke clear() of the destination container, and then 
call append_container.

For append_container, you might want to add a template specialization when both 
containers are of the same type, in order to be more performant (rather than 
doing the for_each).

Original issue reported on code.google.com by danielgutson@gmail.com on 7 May 2011 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by danielgutson@gmail.com on 7 May 2011 at 9:26

GoogleCodeExporter commented 9 years ago
pls reassign.
Favio: pls comment where this was needed, if you remember.

Original comment by danielgutson@gmail.com on 31 Dec 2011 at 11:26