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? |
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.
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?