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

misbehaves in presence of overloaded operator, #14

Open
zygoloid opened this issue Jun 6, 2014 · 0 comments
Open

misbehaves in presence of overloaded operator, #14

zygoloid opened this issue Jun 6, 2014 · 0 comments

Comments

@zygoloid
Copy link

zygoloid commented Jun 6, 2014

Line 116:
template <class X, class Y, size_t S = sizeof((std::declval() = std::declval(), true)) >

... would make use of an overloaded operator, on the result of the assignment. Suggestion: either cast the result of the assignment to void, or use class Z = decltype(... = ...) instead of the third template parameter.

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