Skip to content

<ranges>: Test c(begin|end) members of range factories - #3553

Merged
Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft:mainfrom
JMazurkiewicz:const-range-factories
Mar 13, 2023
Merged

<ranges>: Test c(begin|end) members of range factories#3553
Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft:mainfrom
JMazurkiewicz:const-range-factories

Conversation

@JMazurkiewicz

Copy link
Copy Markdown
Contributor

Towards #3391.
This PR adds extra tests for c(begin|end) members of C++ range factories ([range.factories]):

  • views::empty,
  • views::single,
  • views::iota,
  • views::repeat,
  • views::istream.

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added test Related to test code ranges C++20/23 ranges labels Mar 9, 2023
Comment thread tests/std/tests/P0896R4_istream_view/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_views_empty/test.cpp Outdated
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for extending this test coverage! 😻 I've pushed very minor changes for my favorite issues. FYI nicole mazzuca (@strega-nil-ms) as you already approved.

@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 4907ba6 into microsoft:main Mar 13, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks again! 🕵️ ✅ 😻

@JMazurkiewicz
Jakub Mazurkiewicz (JMazurkiewicz) deleted the const-range-factories branch March 14, 2023 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ranges C++20/23 ranges test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants