Adam D. Ruppe: > Consider the following: > > struct JustZeroes { > int front = 0; > enum bool = false; > void popFront() {} > } > > Is that guaranteed to work as an input range? It seems similar to 0.repeat When you are not sure add a static assert below the range, to verify it is the kind of range you want. Bye, bearophile