30 May
2003
30 May
'03
5:01 p.m.
darrenvhart wrote:
--- In Boost-Users@yahoogroups.com, "Peter Dimov"
wrote: You can use apply<> from
instead of 'call': bind(apply<bool>(), bind(&widget::sig, &widget_a)) (); // should call widget_a->sig
Thank you for the reply.
I have changed the line to use apply<bool>() and included the header file, but it won't compile complaining about noncopyable members of the signal of the widget. Any ideas what that is all about ?
Please change every 'F f' to 'F & f' in boost/bind/apply.hpp; this will take care of the problem. I've already updated the CVS version. The problem is that a signal is noncopyable and cannot be passed by value.