Boost logo

Boost :

From: Terence Wilson (tez_at_[hidden])
Date: 2002-03-21 19:37:08


Thanks to Gary Powell for pointing out the orginal code fragment doesn't
make sense.

This is what I have now:

std::vector<boost::shared_ptr<SomeClass> > Vec;

std::for_each(Vec.begin(), Vec.end(), boost::bind(&myClass::myMethod,
_1, boost::ref(DownloadListView));

I *want* to be able to pass an extra reference argument, but I can't
find a form which will compile on VC7.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk