chsvlib
chsv helper source code

◆ make_iterator_range() [3/4]

iterator_range<typename std::decay<OtherRange>::type::iterator> Chusov::Memory::make_iterator_range ( OtherRange &&  range)
noexcept

Constructs a range from another range forwarding the call to the corresponding constructor of iterator_range.

Template Parameters
OtherRangeA type of another range of iterator.
Parameters
rangeAnother range of iterator to be forwarded to the corresponding constructor by the function.
Returns
The constructed range.