Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-04-22 05:52:09


Sven Van Echelpoel wrote:
> So instead of:
>
> events_.push_back( bind( ev, i ) );
>
> I have to write something like:
>
> events_.push_back( bind( function<void(int)>( ref( ev ) ), i ) );

events_.push_back( bind( ref(ev), i ) );

should be enough, although I think that the idea of making signals copyable
(shared semantics) deserves consideration.


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