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

<optional>: Fix exception specification for optional's transform-construction #3668

Merged

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #3667.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner April 24, 2023 02:20
stl/inc/optional Outdated Show resolved Hide resolved
frederick-vs-ja and others added 3 commits April 24, 2023 11:14
making the exception specification consistent with `expected`

Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

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

Oh wow, we totally missed that. Thanks for the fix, @frederick-vs-ja!

@StephanTLavavej StephanTLavavej added the bug Something isn't working label Apr 24, 2023
@StephanTLavavej StephanTLavavej self-assigned this Apr 24, 2023
@StephanTLavavej
Copy link
Member

Thanks! FYI @strega-nil-ms I pushed an expansion of test coverage after you approved.

@StephanTLavavej StephanTLavavej removed their assignment Apr 24, 2023
@StephanTLavavej StephanTLavavej self-assigned this Apr 27, 2023
@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 c5a5efa into microsoft:main Apr 28, 2023
@StephanTLavavej
Copy link
Member

Thanks for fixing this bug in new code! 🐞 🛠️ 😻

@frederick-vs-ja frederick-vs-ja deleted the optional-transform-noexcept branch April 28, 2023 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<optional>: Throwing transformers will cause the program to terminate
4 participants