-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
P2404R3: Move-Only Types For Comparison Concepts #3345
Conversation
d7a4ab0
to
a62e88c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good! Just that minor change in yvals_core.h
requested :)
tests/std/tests/P2404R3_move_only_types_for_comparison_concepts/test.compile.pass.cpp
Show resolved
Hide resolved
tests/std/tests/P2404R3_move_only_types_for_comparison_concepts/test.compile.pass.cpp
Show resolved
Hide resolved
tests/std/tests/P2404R3_move_only_types_for_comparison_concepts/test.compile.pass.cpp
Outdated
Show resolved
Hide resolved
Thanks, looks great! I pushed changes to fix the paper citation for C++20 concepts, and ultra-minor test nitpicks. FYI @strega-nil-ms. |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for implementing this C++23 feature and improving these concepts! 🚀 😻 🎉 |
Closes #2924.
This PR adds support for move-only types to C++20 concepts:
three_way_comparable_with
,equality_comparable_with
andtotally_ordered_with
.