Hello,Hi,
Use Boost.Lambda for this:
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?