-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Repairing counted_iterator
#1939
Conversation
There was a problem hiding this 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)
Co-authored-by: Casey Carter <[email protected]>
There was a problem hiding this 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.
Thanks for implementing the Standard's usability fixes for ranges! 😻 🎉 |
This implements the
counted_iterator
part of WG21-P2259.Partially addresses #1684.