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

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

Merged
merged 6 commits into from
Feb 14, 2023

Conversation

fsb4000
Copy link
Contributor

@fsb4000 fsb4000 commented Feb 12, 2023

Fixes #3448

@fsb4000 fsb4000 requested a review from a team as a code owner February 12, 2023 06:20
@CaseyCarter CaseyCarter added ranges C++20/23 ranges cxx23 C++23 feature labels Feb 12, 2023
tests/libcxx/expected_results.txt Outdated Show resolved Hide resolved
@@ -285,6 +285,7 @@
// P2432R1 Fix istream_view
// P2508R1 basic_format_string, format_string, wformat_string
// P2520R0 move_iterator<T*> Should Be A Random-Access Iterator
// P2711R1 Making Multi-Param Constructors Of Views explicit
Copy link
Member

@CaseyCarter CaseyCarter Feb 12, 2023

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
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks :)

@StephanTLavavej StephanTLavavej self-assigned this Feb 13, 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 bc3ad69 into microsoft:main Feb 14, 2023
@StephanTLavavej
Copy link
Member

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

@fsb4000 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
  翻译: