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

LWG-3848: slide_view missing base accessor #3410

Merged
merged 3 commits into from
Feb 14, 2023

Conversation

JMazurkiewicz
Copy link
Contributor

@JMazurkiewicz JMazurkiewicz commented Feb 12, 2023

This PR adds base accessor to ranges::slide_view implemented in #2670.

Fixes #3409.

@JMazurkiewicz JMazurkiewicz requested a review from a team as a code owner February 12, 2023 00:01
@StephanTLavavej StephanTLavavej added LWG Library Working Group issue ranges C++20/23 ranges labels Feb 12, 2023
@StephanTLavavej
Copy link
Member

Thanks! I pushed a tiny commit to remove an unnecessary check (copy-pasted?).

@JMazurkiewicz
Copy link
Contributor Author

JMazurkiewicz commented Feb 12, 2023

Thanks! I pushed a tiny commit to remove an unnecessary check (copy-pasted?).

Yes, it was copy-pasted from P2442R1_views_chunk/test.cpp - and it looks like this check is also uneccessary there.

@JMazurkiewicz
Copy link
Contributor Author

FYI I've pushed two extra changes:

  • // strengthend comment for base and size members tests,
  • Correct exception check for slide_view::size.

@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 aee02b5 into microsoft:main Feb 14, 2023
@StephanTLavavej
Copy link
Member

Thanks for helping the STL slide towards increased conformance! 🎚️ 📈 😻

@JMazurkiewicz JMazurkiewicz deleted the lwg3848 branch February 14, 2023 00:57
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.

LWG-3848 adjacent_view, adjacent_transform_view, and slide_view missing base accessor
5 participants