Skip to content

Implement P2711R1 Making Multi-Param Constructors Of Views explicit - #3451

Merged
Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft:mainfrom
fsb4000:fix3448
Feb 14, 2023
Merged

Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft:mainfrom
fsb4000:fix3448

Conversation

@fsb4000

Copy link
Copy Markdown
Contributor

Fixes #3448

@fsb4000
Igor Zhukov (fsb4000) requested a review from a team as a code owner February 12, 2023 06:20
Comment thread stl/inc/yvals_core.h Outdated
@CaseyCarter Casey Carter (CaseyCarter) added ranges C++20/23 ranges cxx23 C++23 feature labels Feb 12, 2023
Comment thread tests/libcxx/expected_results.txt Outdated
Comment thread stl/inc/yvals_core.h
// P2432R1 Fix istream_view
// P2508R1 basic_format_string, format_string, wformat_string
// P2520R0 move_iterator Should Be A Random-Access Iterator
// P2711R1 Making Multi-Param Constructors Of Views explicit

@CaseyCarter Casey Carter (CaseyCarter) Feb 12, 2023 •

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.

For other reviewers: This is in the "_HAS_CXX20 controls" section because it's being implemented back to C++20. I think that makes sense: relatively few people are using the view types now to be broken when constructors become explicit. Presumably letting more people write code that will break when moving to C++23 is worse than just breaking the early adopters immediately.

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.

LGTM! Thanks :)

@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
Stephan T. Lavavej (StephanTLavavej) merged commit bc3ad69 into microsoft:main Feb 14, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for implementing this feature mere hours after it was voted in! ⏳ 😻 🚀

@fsb4000
Igor Zhukov (fsb4000) deleted the fix3448 branch February 15, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx23 C++23 feature ranges C++20/23 ranges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P2711R1 Making Multi-Param Constructors Of Views explicit

5 participants