Skip to content

Conversation

@cpplearner
Copy link
Contributor

This implements the counted_iterator part of WG21-P2259.

Partially addresses #1684.

@cpplearner cpplearner requested a review from a team as a code owner May 29, 2021 00:58
@CaseyCarter CaseyCarter added the LWG Library Working Group issue label Jun 1, 2021
@CaseyCarter CaseyCarter self-assigned this Jun 9, 2021
Copy link
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

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

We also need a P2259R1 banner under "_HAS_CXX20 directly controls" in <yvals_core.h> with a partial completion indicator:

// P2259R1 Repairing Input Range Adaptors And counted_iterator
//     (partially implemented)

@CaseyCarter CaseyCarter removed their assignment Jun 21, 2021
Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

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

Looks good - I'll validate and push changes for const style and difference_type test coverage.

@StephanTLavavej StephanTLavavej self-assigned this Jun 24, 2021
@StephanTLavavej StephanTLavavej merged commit 1bfe5b1 into microsoft:main Jun 29, 2021
@StephanTLavavej
Copy link
Member

Thanks for implementing the Standard's usability fixes for ranges! 😻 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LWG Library Working Group issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants