Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

Details:

  • <iterator>: Implement the proposed resolutions of LWG-3391 and LWG-3481. Conditionally specialize pointer_traits so counted_iterator<I> models contiguous_iterator when I models contiguous_iterator (this will be part of the resolution of LWG-3408 when I can find some time to finish proposed wording).
  • <xutility>: Conditional noexcept for ranges::distance and move_iterator::base.
  • <range_algorithm_support.hpp>: Bugfix to allow test::iterator to properly model move-only output iterators. (We can't return a copy of the iterator from post-increment to make *meow++ = woof work, we need a proxy reference type.)

Also implements the proposed resolution of LWG-3481.
@CaseyCarter CaseyCarter added cxx20 C++20 feature high priority Important! ranges C++20/23 ranges labels Sep 1, 2020
@CaseyCarter CaseyCarter requested a review from a team as a code owner September 1, 2020 17:22
Copy link
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

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

I am toast so just one general question about the sentinel

@CaseyCarter CaseyCarter mentioned this pull request Sep 1, 2020
@CaseyCarter CaseyCarter merged commit 0c2007a into microsoft:master Sep 5, 2020
@CaseyCarter CaseyCarter deleted the take_drop branch September 5, 2020 00:20
@CaseyCarter
Copy link
Contributor Author

Thanks for taking the time to drop this contribution on us!

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

Labels

cxx20 C++20 feature high priority Important! ranges C++20/23 ranges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants