Skip to content

Conversation

yehudamber
Copy link
Contributor

Move monostate (from <xutility>) and related definitions (from <variant>) to <utility>.
<utility> is included by both headers, so no code is broken.

resolves #5294

@yehudamber yehudamber requested a review from a team as a code owner March 31, 2025 16:36
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Mar 31, 2025
@StephanTLavavej StephanTLavavej added the cxx26 C++26 feature label Mar 31, 2025
@yehudamber
Copy link
Contributor Author

@microsoft-github-policy-service agree

@StephanTLavavej
Copy link
Member

Thanks! I pushed an additional commit to follow our convention of listing all implemented features in <yvals_core.h>.

This change is sufficiently simple and resistant to accidental damage that no test coverage is necessary.

We merge PRs simultaneously to our GitHub and MSVC-internal repos in a semi-manual process, batched up to save time. Your PR will be part of the next batch, likely either this week or next week. I'll post comments here as I prepare your PR for merging!

@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Mar 31, 2025
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Apr 9, 2025
@StephanTLavavej StephanTLavavej self-assigned this Apr 9, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 41d6925 into microsoft:main Apr 10, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Apr 10, 2025
@StephanTLavavej
Copy link
Member

StephanTLavavej commented Apr 10, 2025

Thanks for implementing this C++26 feature, and congratulations on your first microsoft/STL commit! 😻 🚀 🎉

@yehudamber yehudamber deleted the p0472 branch April 29, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx26 C++26 feature
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

P0472R3 Put monostate In <utility>
3 participants