halcheck 1.0
Loading...
Searching...
No Matches

◆ make_subrange()

template<typename I >
lib::subrange< I > halcheck::lib::make_subrange ( I first,
I last )

Constructs a subrange from a pair of iterators.

Template Parameters
IThe type of iterator contained in the subrange.
Parameters
firstAn iterator pointing at the first element in the subrange.
lastAn iterator pointing past the last element of the subrange.
Returns
A subrange x satisfying x.begin() == first and x.end() == last.