Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-02-23 17:49:02


Frank Mori Hess wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday 23 February 2007 17:06 pm, Peter Dimov wrote:
>> slot_type slot( f, ... );
>>
>> for_each( tracked.begin(), tracked.end(), bind( &slot_type::track,
>> _1 ) );
>
> Sorry for being pedantic here, but I think you left the "slot"
> argument out of the bind call?
>
> bind( &slot_type::track, slot, _1 )

You're right, I did, but we all knew what I meant. :-) As long as we're in
pedantic mode:

    bind( &slot_type::track, &slot, _1 )


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