RE: [sigc] Overloaded Member Methods as Slots
- From: "Ulrich Eckhardt" <Eckhardt satorlaser com>
- To: <libsigc-list gnome org>
- Cc:
- Subject: RE: [sigc] Overloaded Member Methods as Slots
- Date: Mon, 6 Mar 2006 09:15:57 +0100
Wesley Smith wrote:
> Basically, if we have a class with with several methods of the same
> name but with different arguments, how can we specify which of the
> overloaded functions get hooked in in order to disambiguate.
Not only for memberfunctions but other functions as well, you need to
use a static_cast to the right function pointer type in order to do
that. This has nothing to do with SigC++ but might be worth mentioning
in the docs anyway.
Uli
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]