Re: Alternative to sigc::mem_fun
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Alternative to sigc::mem_fun
- Date: Tue, 19 Jun 2018 17:00:35 +0100
I still don't see the problem. There is an overload that takes a reference instead and should be in each case.
So, for
sigc::mem_fun |
( |
T_obj * |
_A_obj, |
|
|
T_return(T_obj2::*)(T_arg1, T_arg2) |
_A_func |
|
) |
|
you should substitute
sigc::mem_fun |
( |
T_obj & |
_A_obj, |
|
|
T_return(T_obj2::*)(T_arg1) |
_A_func |
|
) |
|
|
These are immediately adjacent in the docs:
or did I miss something else and this doesn't work for you somehow?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]