4 ms·
I was hoping you could just provide an iterator_traits with a uint8_t difference type, but this is tied to the iterator type rather than specified separately, s
by gblargg 2y ago
I was hoping you could just provide an iterator_traits with a uint8_t difference type, but this is tied to the iterator type rather than specified separately, so you'd need some kind of iterator wrapper to do this.
- tomn 2y agoYeah, I thought about that too, but if you want to process more than 255 values this might not be valid, depending on the implementation of count_if.