Re: Alternative to sigc::mem_fun



On 19 June 2018 at 13:58, Compro Prasad via gtkmm-list <gtkmm-list gnome org> wrote:
The doc of sigc::mem_fun suggest to use something else which takes
arguments as reference instead of pointer and also mem_fun is
deprecated.

A link to the docs you're referring to would be useful.

By my reading, it <https://developer.gnome.org/libsigc++/stable/group__mem__fun.html> says
Please use the version that takes the object by reference instead.

which means that it provides alternatives that accept references, and you should use those overloads instead of the older ones taking a pointer.



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