-
Notifications
You must be signed in to change notification settings - Fork 120
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
explicit operator bool does not work with expect() #85
Comments
kris-jusiak
added a commit
that referenced
this issue
Nov 2, 2019
kris-jusiak
added a commit
that referenced
this issue
Nov 2, 2019
kris-jusiak
added a commit
that referenced
this issue
Nov 2, 2019
kris-jusiak
added a commit
that referenced
this issue
Nov 2, 2019
After some thoughts, I believe that explicitly convertible types should be explicitly static_cast'ed, however, implicit convertible ones should work, which is fixed now by #87 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
The following should compile and work:
Actual Behavior
This does not compile:
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: