Re: [sigc] Re: [Boost-users] Signals & Slots
- From: Murray Cumming <murrayc murrayc com>
- To: Carl Nygard <cjnygard fast net>
- Cc: libsigc++ list <libsigc-list gnome org>, boost-users lists boost org, Doug Gregor <dgregor cs indiana edu>
- Subject: Re: [sigc] Re: [Boost-users] Signals & Slots
- Date: Sat, 08 Jan 2005 09:23:40 +0100
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]