well merge, union, intersection algorithm..

On Jan 24, 2008 7:04 AM, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:
chun ping wang skrev:
> sorry it should have been
> std::copy(A.begin(), A.end(), std::back_inserter(B.begin()));

A better alternative to std::copy() is

B.insert( B.begin(), A );

Did you have any other algorithm in mind?

-Thorsten
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org