Created
October 15, 2014 05:55
-
-
Save vralex/9ba1477f24158b1c94b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iterator> | |
template <typename T> | |
void rotate(T begin, T end, int k) | |
{ | |
typedef typename std::iterator_traits<T>::value_type TValue; | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment