cmAlgorithms: Add cmMakeReverseIterator.

This commit is contained in:
Stephen Kelly 2015-07-21 22:42:03 +02:00
parent 1e77de7411
commit 9644a2d11c
1 changed files with 6 additions and 0 deletions

View File

@ -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