Boost logo

Boost Users :

From: Jens Theisen (jth01_at_[hidden])
Date: 2006-02-17 06:23:00


Meryl wrote:

> for_each (aVector;.begin(), aVector;.end(), bind (&myFunc, _1)); //

for_each( aVector.begin(), aVector.end(), bind(&myFunc, *_1) );

But that's boost::lambda rather than boost::bind.

Jens


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