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

Fix rethrowing the caught exception from streambuf #4372

Merged
merged 2 commits into from Feb 13, 2024

Conversation

grcm10
Copy link
Contributor

@grcm10 grcm10 commented Feb 7, 2024

Fixes #4322

@grcm10 grcm10 requested a review from a team as a code owner February 7, 2024 13:27
@github-actions github-actions bot added this to Initial Review in Code Reviews Feb 7, 2024
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Feb 7, 2024
stl/inc/ostream Outdated Show resolved Hide resolved
stl/inc/ostream Outdated Show resolved Hide resolved
tests/std/tests/GH_001858_iostream_exception/test.cpp Outdated Show resolved Hide resolved
tests/std/tests/GH_001858_iostream_exception/test.cpp Outdated Show resolved Hide resolved
@StephanTLavavej
Copy link
Member

Thanks for fixing this bug and especially for adding test coverage, this looks great! 😻 I pushed a few nitpicky changes for consistency, nothing major. This should be part of our next merge batch (not sure when, maybe this week, possibly next week).

@StephanTLavavej StephanTLavavej moved this from Initial Review to Final Review in Code Reviews Feb 7, 2024
@StephanTLavavej StephanTLavavej moved this from Final Review to Ready To Merge in Code Reviews Feb 7, 2024
@StephanTLavavej StephanTLavavej self-assigned this Feb 12, 2024
@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 0e79973 into microsoft:main Feb 13, 2024
35 checks passed
Code Reviews automation moved this from Ready To Merge to Done Feb 13, 2024
@StephanTLavavej
Copy link
Member

Thanks for fixing this ancient bug! 🐞 🛠️ 😻

@grcm10 grcm10 deleted the stream_exception branch February 14, 2024 03:07
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
Archived in project
Development

Successfully merging this pull request may close these issues.

<ostream>: Exception from streambuf should be caught and not rethrown
3 participants