3#ifndef TETL_ALGORITHM_SHIFT_RIGHT_HPP
4#define TETL_ALGORITHM_SHIFT_RIGHT_HPP
29template <
typename B
idiIt>
41 for (; src != first; --dest, (void)--src) {
49 for (; dest != first; --dest) {
constexpr auto shift_right(BidiIt first, BidiIt last, typename etl::iterator_traits< BidiIt >::difference_type n) -> BidiIt
Shifts the elements in the range [first, last) by n positions.
Definition shift_right.hpp:30
constexpr auto move(InputIt first, InputIt last, OutputIt destination) -> OutputIt
Moves the elements in the range [first, last), to another range beginning at destination,...
Definition move.hpp:26
constexpr auto prev(BidirIt it, typename iterator_traits< BidirIt >::difference_type n=1) -> BidirIt
Return the nth predecessor of iterator it.
Definition prev.hpp:14
constexpr auto next(InputIt it, typename iterator_traits< InputIt >::difference_type n=1) -> InputIt
Return the nth successor of iterator it.
Definition next.hpp:14
constexpr auto distance(It first, It last) -> typename iterator_traits< It >::difference_type
Returns the number of hops from first to last.
Definition distance.hpp:16
Definition adjacent_find.hpp:8
constexpr bool is_default_constructible_v
Definition is_default_constructible.hpp:26
iterator_traits is the type trait class that provides uniform interface to the properties of LegacyIt...
Definition iterator_traits.hpp:47