-
Notifications
You must be signed in to change notification settings - Fork 1
Add first implementation of positionless #1
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
Conversation
Currently only supporting forward-iterator case
…tion is always checked.
RishabhRD
left a comment
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.
Few inline comments.
I don't see toprev and tonext operations. I needed them to implement algorithms in pure positionless way. Are those not needed for our purposes here?
BTW I need to say, I saw a good C++ codebase after a long time. Really thanks for that 😅.
Added implementation for them. Thank you very much! |
RishabhRD
left a comment
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.
LGTM!
dabrahams
left a comment
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.
a thought
Co-authored-by: Naveen Seth Hanig <[email protected]> Co-authored-by: Dave Abrahams <[email protected]>
naveen-seth
left a comment
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.
LGTM!
Implement
positionlessclass an its operations.Add unit tests to ensure that everything works.