#ifndef SPROUT_ALGORITHM_FIXED_ROTATE_HPP #define SPROUT_ALGORITHM_FIXED_ROTATE_HPP #include #include #include #include #include namespace sprout { namespace fixed { // // rotate // template SPROUT_CONSTEXPR inline typename sprout::fixed::result_of::algorithm::type rotate( Container const& cont, typename sprout::fixed_container_traits::const_iterator middle ) { return sprout::fixed::rotate_copy(sprout::begin(cont), middle, sprout::end(cont), cont); } } // namespace fixed using sprout::fixed::rotate; } // namespace sprout #endif // #ifndef SPROUT_ALGORITHM_FIXED_ROTATE_HPP