3#ifndef TETL_ALGORITHM_SHIFT_LEFT_HPP
4#define TETL_ALGORITHM_SHIFT_LEFT_HPP
21template <
typename ForwardIt>
32 if constexpr (etl::detail::RandomAccessIterator<ForwardIt>) {
33 if (n >= last - first) {
constexpr auto shift_left(ForwardIt first, ForwardIt const last, typename iterator_traits< ForwardIt >::difference_type n) -> ForwardIt
Shifts the elements in the range [first, last) by n positions.
Definition shift_left.hpp:22
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
Definition adjacent_find.hpp:8
iterator_traits is the type trait class that provides uniform interface to the properties of LegacyIt...
Definition iterator_traits.hpp:47