|
Boost Users : |
From: David Klein (dave_chp_at_[hidden])
Date: 2007-06-06 10:38:36
Boris wrote:
> void Hello() { }
> boost::signal<void ()> sig;
> sig.connect(&Hello); // OK
> sig.disconnect(&Hello); // Error
>
> Can anyone tell me how I disconnect the callback function Hello? I can see
> in the documentation that I can call disconnect with a group_type and with
> a slot_type but not with a slot_function_type. I'm surprised to run into
> such a problem as from the point of view of a library user it can't get
> much easier than that?
>
> Boris
>
> PS: This is with Boost 1.33.1.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
Hi Boris,
http://www.boost.org/doc/html/signals/tutorial.html#id1627590
-- Regards, dave
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