signals
signals copied to clipboard
Auto resolve ambiguously overloaded functions
signal<void(int)> sig;
void f (int x);
void f (const char* str);
int main(){
sig.connect(f); //shouldn't be ambiguous
}
Couldn't (shouldn't?) this be workedaround by using an appropriately typed lambda?