Re: [sigc] Functor not resolving between overloaded methods with different slot types
- From: Paul Davis <paul linuxaudiosystems com>
- To: Mike Fleetwood <mike fleetwood googlemail com>
- Cc: Libsigc++ <libsigc-list gnome org>
- Subject: Re: [sigc] Functor not resolving between overloaded methods with different slot types
- Date: Sat, 6 Feb 2016 09:49:46 -0500
My approach in similar situations is to use a clear intermediate ptr-to-member-function, like this:
void (Activity::*the_correct_method)(Glib::ustring*) = &Activity::callback;
some_sigc_signal.connect (... sigc::mem_fun (the_correct_method, anActivity) ...)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]