Skip to content

Conversation

@vmichal
Copy link
Contributor

@vmichal vmichal commented Nov 21, 2025

Implement reworded "Returns" of various operator== between expected, expected<void> and unexpected - rely on implicit conversions instead of explicit static_cast<bool>(cmp-expr).
Add tests.

Fixes #5873

@vmichal vmichal requested a review from a team as a code owner November 21, 2025 14:29
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Nov 21, 2025
@StephanTLavavej StephanTLavavej added the LWG Library Working Group issue label Nov 21, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Nov 24, 2025
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Nov 25, 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 e7b1c23 into microsoft:main Nov 27, 2025
44 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Nov 27, 2025
@StephanTLavavej
Copy link
Member

❤️ 🟰 💚

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

Labels

LWG Library Working Group issue

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

LWG-4366 Heterogeneous comparison of expected may be ill-formed

3 participants