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.