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

C++26's Delete with a reason #427

Open
lefticus opened this issue Aug 18, 2024 · 1 comment
Open

C++26's Delete with a reason #427

lefticus opened this issue Aug 18, 2024 · 1 comment

Comments

@lefticus
Copy link
Owner

I think this syntax maybe should be been reserved for a conditional delete?

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2573r2.html#alt-syntax

@LB--
Copy link

LB-- commented Aug 19, 2024

Thankfully we already have conditional = delete using requires clauses, so all we lost was making the syntax more terse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants