Template Function Rose::make_range(T, T)

Template Function Rose::make_range(T, T)#

Function Documentation#

template<class T>
iterator_range<T> Rose::make_range(T x, T y)#

Convenience function for iterating over sub-ranges.

This provides a bit of syntactic sugar to make using sub-ranges in for loops a bit easier. Analogous to std::make_pair().