cmAlgorithms: Add cmMakeReverseIterator.
This commit is contained in:
parent
1e77de7411
commit
9644a2d11c
|
@ -363,4 +363,10 @@ cmReverseRange(Range const& range)
|
|||
range.rbegin(), range.rend());
|
||||
}
|
||||
|
||||
template <class Iter>
|
||||
std::reverse_iterator<Iter> cmMakeReverseIterator(Iter it)
|
||||
{
|
||||
return std::reverse_iterator<Iter>(it);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue