-
-
Notifications
You must be signed in to change notification settings - Fork 642
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
CHECK_THROWS_AS of non-default constructor wants to call default constructor #293
Comments
Try using |
Did that help? Btw even without doctest you would get an error if you just wrote |
Sorry, I forgot about this. I rolled back the conversion from catch2 to doctest because of the missung GENERATE feature, so I didn't get around to testing this... But the suggested fix works, thanks. Maybe this should be the default? |
I've forgotten why it isn't the default - either because it was a breaking change or because of something else (like some other kind of expression not being castable to void or something...). How much are you using the generators? Can the code be emulated with some loop of some sorts? |
Description
Steps to reproduce
See https://godbolt.org/z/7t32D-
Extra information
The text was updated successfully, but these errors were encountered: