Re: [sigc] Functor not resolving between overloaded methods with different slot types



Thank you Paul,

This was just the nudge in the right direction I needed.  Creating an
intermediate variable of the required slot type was what was needed so
the compiler could choose between the overloaded functions.  For my test
case it looks like this:

  sigc::slot<void, Glib::ustring *> activity_slot =
sigc::mem_fun(*this, &Activity::callback);
  foo(activity_slot);


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