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

! operator on tainted bool automatically unwraps it #56

Open
wrv opened this issue Nov 17, 2023 · 0 comments
Open

! operator on tainted bool automatically unwraps it #56

wrv opened this issue Nov 17, 2023 · 0 comments

Comments

@wrv
Copy link
Contributor

wrv commented Nov 17, 2023

else if_constexpr_named(cond2, std::is_same_v<std::remove_cv_t<T>, bool>)
{
return impl() == false;
}

This should return a tainted bool.

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