-
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
Implement common_iterator #1092
Conversation
@CaseyCarter the test currently fail because in the test machinery we require So the question is is that requirement valid or should we expand it to |
So I build this |
I might be just spectacularly stupid. It seems I tried to swap elements of a const range and wondered why it didnt work... At least locally all tests now work. Lets see what clang brings |
I believe these test failures require maintainer support |
So I was thinking a bit about exception safety and came up with the horror that is Is that overkill? |
@CaseyCarter This should be ready for the next round of reviews |
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.
Just some tweaky things which I'll fixup right now.
Thanks for implementing this decidedly un-common Ranges component! 😎 |
This reverts commit 30e7a1b.
This implements
common_iterator
I am at a point where I would like to get some feedback regarding certain issues
union
s scare me.union
s scare me) so I freely stole fromoptional
/variant
That is the reason I moved_Construct_in_place
and_Nontrivial_dummy
to xutility. Hiss if it does not belong there.union
s scare me.counted_iterator
i get strange errors aboutrequires input_iterator<_Iter>
operator->()
is especially terrible thoughts?