Hello,
I would like to replace this trivial
loop
for(size_t
i=0; i<intersection.size(); i++)
{
domCcyEventPtrs.push_back(events->event(domCcy,
intersection[i]));
}
with a call to std::transform and boost::bind.
The events object is actually a boost_shared_ptr<>
of a certain type. domCcyEventPtrs
and intersection are std::vector<> objects. Can this be done?
Cheers
___________________________________________________________
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 http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H for additional disclosures.