|
Boost Users : |
Subject: [Boost-users] boost::bond and assignment
From: przemyslaw.sliwa_at_[hidden]
Date: 2010-09-17 10:47:30
Hello,
I have to write a simple loop whihc assigns a member variable to a
constant value,
vector<boost::shared_ptr<clss> > tmp
for(size_t i=0; i<tmp.size(), i++)
tmp[i]->mem = 0.0;
How this can be done using stl algorithms and boost::bind?
Thanks for help,
Pshemek
___________________________________________________________
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.
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