|
Boost Users : |
Subject: Re: [Boost-users] [Signals2] Wrapper function for connecting slot won't compile
From: Marc dela Cruz (mdelacruz_at_[hidden])
Date: 2009-07-07 01:01:03
Thanks.
I always miss the simple things...
----- Original Message -----
From: Igor R
[mailto:boost.lists_at_[hidden]]
To: boost-users_at_[hidden]
Sent: Mon, 06
Jul 2009 18:15:14 -0500
Subject: Re: [Boost-users] [Signals2] Wrapper
function for connecting slot won't compile
> > SomeClass myClass;
>
> setOpenCallBack(boost::bind(&SomeClass<B>::memFunc, &myClass)); //does
>
> not compile
Your memFun() has 1 argument, and you have express this in the
> bind:
setOpenCallBack(boost::bind(&SomeClass<B>::memFunc, &myClass,
> _1));
_______________________________________________
Boost-users mailing
> list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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