Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement P3223R2 Makingistream::ignore() Less Surprising#5604

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
StephanTLavavej merged 1 commit intomicrosoft:mainfromfrederick-vs-ja:p3223r2
Aug 8, 2025

Conversation

@frederick-vs-ja
Copy link
Contributor

@frederick-vs-jafrederick-vs-ja commentedJun 22, 2025
edited
Loading

As a Defect Report against old standard modes.Fixes#5618.

As a result of DR-backingP3223R2, the new overload is templated, and thus this PR happens to "constrain the new overload to prevent ambiguities" and keepsin.ignore(100, -1L) well-formed.

StephanTLavavej reacted with heart emoji
@frederick-vs-jafrederick-vs-ja requested a review froma team as acode ownerJune 22, 2025 14:32
@frederick-vs-jafrederick-vs-ja changed the titleImplement P3223R2 Makingstd::istream::ignore Less SurprisingImplement P3223R2 Makingstd::istream::ignore() Less SurprisingJun 23, 2025
@frederick-vs-jafrederick-vs-ja changed the titleImplement P3223R2 Makingstd::istream::ignore() Less SurprisingImplement P3223R2 Makingistream::ignore() Less SurprisingJun 23, 2025
@Zingam
Copy link
Contributor

@frederick-vs-ja (This is not a review. Just a couple of questions.) Was the paper voted in as DR? I guess not. My reading of the Standard is that resolving the ambiguity is not required is that so?
I made an attempt to implement the paper in libc++ but Windows is giving me troublesllvm/llvm-project#147007

@frederick-vs-ja
Copy link
ContributorAuthor

frederick-vs-ja commentedJul 8, 2025
edited
Loading

Was the paper voted in as DR? I guess not.

I guess not, either. But according to thepaper issue I think it should be treated as a DR.

My reading of the Standard is that resolving the ambiguity is not required is that so?

Yes. In this PR the ambiguity is resolved "by accident", which is a consequence of backporting. I don't think the ambiguity resolution is disallowed, either.

H-G-Hristov reacted with thumbs up emoji

@StephanTLavavejStephanTLavavej removed their assignmentAug 6, 2025
@StephanTLavavejStephanTLavavej moved this fromInitial Review toReady To Merge inSTL Code ReviewsAug 6, 2025
@StephanTLavavejStephanTLavavej moved this fromReady To Merge toMerging inSTL Code ReviewsAug 7, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavejStephanTLavavej merged commitfae8c55 intomicrosoft:mainAug 8, 2025
39 checks passed
@github-project-automationgithub-project-automationbot moved this fromMerging toDone inSTL Code ReviewsAug 8, 2025
@StephanTLavavej
Copy link
Member

🐱 😸 🐈

@frederick-vs-jafrederick-vs-ja deleted the p3223r2 branchAugust 8, 2025 17:47
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@StephanTLavavejStephanTLavavejStephanTLavavej approved these changes

Assignees

No one assigned

Labels

cxx26C++26 feature

Projects

Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

P3223R2 Makingistream::ignore() Less Surprising

3 participants

@frederick-vs-ja@Zingam@StephanTLavavej

[8]ページ先頭

©2009-2025 Movatter.jp