chsvlib
chsv helper source code

◆ make_iterator_range() [2/4]

iterator_range<std::common_type_t<std::decay_t<IteratorBegin>, std::decay_t<IteratorEnd> > > Chusov::Memory::make_iterator_range ( IteratorBegin &&  begin_iterator,
IteratorEnd &&  end_iterator 
)
noexcept

Forwards the deduced parameters to the corresponding constructor of the iterator_range class template specialized for the common type of both template arguments.

Template Parameters
IteratorBeginA type of the first iterator which specifies an inclusive beginning bound of the created range.
IteratorEndA type of the second iterator which specifies an exclusive ending bound of the created range.
Parameters
begin_iteratorThe inclusive beginning iterator of the created range.
end_iteratorThe exclusive ending iterator of the created range.
Returns
The constructed range.