Re: [sigc] Re: [Boost-users] Signals & Slots



On Fri, 2005-01-07 at 20:10 -0500, Carl Nygard wrote:
> sigc::connect() -- can it take a function object or ptr-to-function or
> must they be wrapped with sigc::ptr_fun() or sigc::mem_fun()?

You can use a pointer-to-function without using sigc::ptr_fun(). I
tested that just now.

A pointer-to-member-function without sigc::mem_fun() would be useless
without the object instance.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]