rotate | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Functions | |
| template<typename I> | |
| std::pair< I, I > | rotate (I f, I m, I l) |
| template<typename I> | |
| std::pair< I, I > | rotate (I f, I m, I l, std::bidirectional_iterator_tag) |
Function Documentation
| std::pair<I, I> adobe::rotate | ( | I | f, | |
| I | m, | |||
| I | l | |||
| ) |
- Parameters:
-
f first item in the sequence m the midpoint around which the range will be rotated l one past the last item in the sequence
- Returns:
- m and m' as a pair in the order in which they appear in the range.
Definition at line 65 of file rotate.hpp.
| std::pair<I, I> adobe::rotate | ( | I | f, | |
| I | m, | |||
| I | l, | |||
| std::bidirectional_iterator_tag | ||||
| ) |
This is the bidirectional optimization for rotate.
Definition at line 39 of file rotate.hpp.

