RE: [sigc] Overloaded Member Methods as Slots



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]