tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
rotate_copy.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename ForwardIt, typename OutputIt>
constexpr auto rotate_copy (ForwardIt first, ForwardIt nFirst, ForwardIt last, OutputIt destination) -> OutputIt
 Copies the elements from the range [first, last), to another range beginning at destination in such a way, that the element nFirst becomes the first element of the new range and nFirst - 1 becomes the last element.