Skip to content

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

Merged
StephanTLavavej merged 6 commits into
microsoft:mainfrom
fsb4000:fix3724
May 30, 2023
Merged

remove operator>> for istream >> setfill(c)#3725
StephanTLavavej merged 6 commits into
microsoft:mainfrom
fsb4000:fix3724

Conversation

@fsb4000
Copy link
Copy Markdown
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
Comment thread tests/std/tests/VSO_0000000_instantiate_iterators_misc/test.compile.pass.cpp Outdated
}

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

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
Copy Markdown
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
Copy Markdown
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