-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement common_iterator #1092
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
|
@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? |
b41b17c to
1e1a890
Compare
|
@CaseyCarter This should be ready for the next round of reviews |
CaseyCarter
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.
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_iteratorI am at a point where I would like to get some feedback regarding certain issues
unions scare me.unions scare me) so I freely stole fromoptional/variantThat is the reason I moved_Construct_in_placeand_Nontrivial_dummyto xutility. Hiss if it does not belong there.unions scare me.counted_iteratori get strange errors aboutrequires input_iterator<_Iter>operator->()is especially terrible thoughts?