Skip to content

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