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

Overload set proposal doesn't respect SFINAE #4

Open
DeadMG opened this issue Mar 15, 2015 · 0 comments
Open

Overload set proposal doesn't respect SFINAE #4

DeadMG opened this issue Mar 15, 2015 · 0 comments

Comments

@DeadMG
Copy link

DeadMG commented Mar 15, 2015

It's stated in https://github.com/asutton/wg21/blob/master/overload/fn.md that the polylambdas shown are equivalent to the overload set. That's not strictly true, as the call to an overload set can SFINAE out, whereas the call to the polylambda cannot. This doesn't make a difference if you're unambiguously calling it but in various template metaprogrammings it will make a difference. The proposal should be updated to reflect this disparity and state a stance on whether lifted sets should preserve SFINAE behaviour (they obviously should IMO).

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

1 participant