Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gblargg
· 1y ago · 0 comments
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.
Comments
[–]
tomn
1y ago
Yeah, 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.