Boost logo

Boost Users :

From: chun ping wang (cablepuff_at_[hidden])
Date: 2008-01-24 10:24:02


well merge, union, intersection algorithm..

On Jan 24, 2008 7:04 AM, Thorsten Ottosen <thorsten.ottosen_at_[hidden]>
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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net