Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Functions | |
template<typename I> | |
std::pair< I, I > | rotate (I f, I m, I l, std::bidirectional_iterator_tag) |
template<typename I> | |
std::pair< I, I > | rotate (I f, I m, I l) |
A better algorithm than std::rotate because:
std::pair< I, I > 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.
std::pair< I, I > rotate | ( | I | f, |
I | m, | ||
I | l ) |
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 |
Definition at line 64 of file rotate.hpp.