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
P0288R9 move_only_function editorial fixes #4960
Comments
Perhaps another LWG issue is needed to add constraints to the assignment operator template. |
@jwakely , do we have those LWG issues? |
The move assignment operator is intentionally not noexcept, to leave room for an allocator-aware
No, because it already has the constraints from the constructor, through the use of "Effects: Equivalent to ..." I think this can be closed. |
See [structure.specifications] p4. |
So is it intentional that assigning |
The wording in the paper reflects the design that was approved. If you think the design was wrong, please file an LWG issue. I find it very hard to care about code that does This also compiles fine, despite being useless and silly:
If you want to store a null pointer you can do so with |
Oh, although the " |
See http://lists.isocpp.org/lib/2021/10/20588.php
The text was updated successfully, but these errors were encountered: