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

applies P1207 #1527

Closed
wants to merge 1 commit into from
Closed

applies P1207 #1527

wants to merge 1 commit into from

Conversation

cjdb
Copy link
Contributor

@cjdb cjdb commented Jul 8, 2020

  • relaxes weakly_incrementable
  • adds rvalue member functions for
    • move_iterator
    • counted_iterator
  • adds test for move-only weakly_incrementable

There will be a minor (undetected) merge conflict between this PR and #1526.

* relaxes weakly_incrementable
* adds rvalue member functions for
  * move_iterator
  * counted_iterator
* adds test for move-only weakly_incrementable
Copy link
Owner

@ericniebler ericniebler left a comment

Choose a reason for hiding this comment

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

There is a lot more to supporting move-only iterators in range-v3 than tweaking the concepts. This needs to be baked throughout the whole library. There are tons of places that assume iterators are copyable. There's a reason why this hasn't been done yet. It's a ton of work.

I can't accept this diff as it currently stands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants