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

remove operator>> for istream >> setfill(c) #3725

Merged
merged 6 commits into from
May 30, 2023

Conversation

fsb4000
Copy link
Contributor

@fsb4000 fsb4000 commented May 21, 2023

Fixes #3724

@fsb4000 fsb4000 requested a review from a team as a code owner May 21, 2023 09:42
@CaseyCarter CaseyCarter added the bug Something isn't working label May 24, 2023
}

template <typename IoManip>
void iomanip_test_impl(IoManip iom) {
iomanip_test_impl(iom, iom);
}

template <typename IoManip>
void iomanip_test_impl_for_setfill(IoManip out) {
Copy link
Member

Choose a reason for hiding this comment

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

It's a little weird that this generic function is used only with setfill and includes setfill in its name. I'd call this _output_only or something, describing what it does instead of how it's currently used. This isn't worth resetting testing, though, so don't bother if we don't need to touch something else.

@StephanTLavavej StephanTLavavej self-assigned this May 26, 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 349279f into microsoft:main May 30, 2023
@StephanTLavavej
Copy link
Member

Thanks for fixing this long-standing nonconformance! 🎉 😸 🚀

@fsb4000 fsb4000 deleted the fix3724 branch May 31, 2023 09: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
None yet
Development

Successfully merging this pull request may close these issues.

<iomanip>: consider removing operator>> for istream >> setfill(c)
3 participants