mirror of
https://github.com/reactos/CMake.git
synced 2025-01-31 08:52:21 +00:00
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…
x
Reference in New Issue
Block a user