Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-12-26 11:02:59


From: "rogeeff" <rogeeff_at_[hidden]>
> test2 defined like this:
>
> void test2( int arg, int mask );
>
> Seems that I misused _1, _2:
>
> Should if be bind( &test2, *it, _2 ) instead of bind( &test2, _2,
> *it ) ?

I think that you want either bind(test2, *it, _1) or bind(test2, _1, *it),
depending on whether *it should be an 'arg' or a 'mask'.

If this doesn't help, please point me to the location of the code.

--
Peter Dimov
Multi Media Ltd.

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