Boost logo

Boost Users :

Subject: [Boost-users] Using boost::bind with stl algorithms
From: przemyslaw.sliwa_at_[hidden]
Date: 2010-08-23 11:49:58


I have the following question. I have two containers

std::set<std::string> insertedEvents;
std::vector<std::string> eventNames;

How I would like to copy all those elements from eventNames which are not
in insertedEvents. Can this can be done somehow using the boost::bind

I am doing it at the moment using a silly loop:

                for(size_t i=0; i<eventNames.size(); i++)

Thanks for any kind of help,


This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.

Please refer to for additional disclosures.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at