Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto resolve ambiguously overloaded functions #1

Open
TheWisp opened this issue Jan 16, 2020 · 1 comment
Open

Auto resolve ambiguously overloaded functions #1

TheWisp opened this issue Jan 16, 2020 · 1 comment

Comments

@TheWisp
Copy link
Owner

TheWisp commented Jan 16, 2020

signal<void(int)> sig;

void f (int x);
void f (const char* str);

int main(){
  sig.connect(f); //shouldn't be ambiguous
}
@dumblob
Copy link

dumblob commented May 31, 2021

Couldn't (shouldn't?) this be workedaround by using an appropriately typed lambda?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants