Boost logo

Boost Users :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-09-26 17:05:28


On Friday 26 September 2003 05:58 pm, Mark Loew wrote:
> vec<Base *> std::find_if( vecBase.begin(), vecBase.end(), boost::bind(
> Base::CheckFunc, aVal ) );

I think you meant:

vec<Base *> std::find_if( vecBase.begin(), vecBase.end(), boost::bind(
&Base::CheckFunc, _1, aVal ) );

        Doug


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