Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: