We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab478f3 commit e8c849aCopy full SHA for e8c849a
src/util/range.h
@@ -244,6 +244,20 @@ struct concat_iteratort
244
return tmp;
245
}
246
247
+ value_type &operator*()
248
+ {
249
+ if(first_begin == first_end)
250
+ return *second_begin;
251
+ return *first_begin;
252
+ }
253
+
254
+ value_type *operator->()
255
256
257
+ return &(*second_begin);
258
+ return &(*first_begin);
259
260
261
const value_type &operator*() const
262
{
263
if(first_begin == first_end)
0 commit comments