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 LWG-3712: chunk_view and slide_view should not be default_initializable #2943

Merged
merged 6 commits into from
Jul 28, 2022

Conversation

frederick-vs-ja
Copy link
Contributor

Towards #2872.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner July 25, 2022 18:34
@StephanTLavavej StephanTLavavej added the LWG Library Working Group issue label Jul 25, 2022
@CaseyCarter CaseyCarter added the ranges C++20/23 ranges label Jul 26, 2022
Comment on lines 38 to 40
// Validate non-default-initializability
STATIC_ASSERT(!is_default_constructible_v<R>);
STATIC_ASSERT(!default_initializable<R>);
Copy link
Member

Choose a reason for hiding this comment

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

No change requested: test_one() is called for both input-only and forward ranges, so this covers the LWG issue's modifications to both the primary template and the specialization for forward ranges.

@StephanTLavavej StephanTLavavej self-assigned this Jul 27, 2022
@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 374fc90 into microsoft:main Jul 28, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing so many LWG issue resolutions and improving conformance! 😻 😻 😻 😻 😻 😻 😻 😻

@frederick-vs-ja frederick-vs-ja deleted the lwg-3712 branch July 28, 2022 03:54
fsb4000 pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LWG Library Working Group issue ranges C++20/23 ranges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants