Comment
by afureta · 7y ago · 0 comments
It's because the std::ops::RangeInclusive struct is meant to be much more generic than just ranges over machine-sized integers. I think a generic range struct in C++ would similarly take references.
No comments yet.