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

feature/spaceship: Clause 20: variant, monostate #1657

Merged

Conversation

d-winsor
Copy link
Contributor

No description provided.

@StephanTLavavej StephanTLavavej added cxx20 C++20 feature spaceship C++20 operator <=> labels Feb 17, 2021
Copy link
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicky things. High-level approach is great.

stl/inc/variant Outdated Show resolved Hide resolved
stl/inc/variant Show resolved Hide resolved
stl/inc/variant Outdated Show resolved Hide resolved
stl/inc/variant Outdated Show resolved Hide resolved
stl/inc/variant Outdated Show resolved Hide resolved
stl/inc/variant Show resolved Hide resolved
tests/std/tests/P1614R2_spaceship/test.cpp Outdated Show resolved Hide resolved
@CaseyCarter CaseyCarter self-assigned this Feb 17, 2021
@d-winsor d-winsor marked this pull request as ready for review February 18, 2021 18:44
@d-winsor d-winsor requested a review from a team as a code owner February 18, 2021 18:44
Copy link
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

stl/inc/variant Show resolved Hide resolved
stl/inc/variant Outdated Show resolved Hide resolved
@CaseyCarter CaseyCarter removed their assignment Feb 18, 2021
Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - I'll add a commit to enhance the test coverage.

tests/std/tests/P1614R2_spaceship/test.cpp Show resolved Hide resolved
tests/std/tests/P1614R2_spaceship/test.cpp Show resolved Hide resolved
tests/std/tests/P1614R2_spaceship/test.cpp Show resolved Hide resolved
@StephanTLavavej StephanTLavavej changed the title Spaceship operator for variant feature/spaceship: Clause 20: variant, monostate Feb 19, 2021
@StephanTLavavej StephanTLavavej merged commit 55c2af9 into microsoft:feature/spaceship Feb 19, 2021
@StephanTLavavej
Copy link
Member

Thanks for implementing one of C++20's most complicated spaceships (and its least complicated! 😹) and congratulations on your first microsoft/STL commit! 🎉 🚀 🛸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx20 C++20 feature spaceship C++20 operator <=>
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants