4#ifndef TETL_ALGORITHM_REMOVE_HPP
5#define TETL_ALGORITHM_REMOVE_HPP
7#include <etl/_algorithm/remove_if.hpp>
15template <
typename ForwardIt,
typename T>
16[[nodiscard]]
constexpr auto remove(ForwardIt first, ForwardIt last, T
const& value) -> ForwardIt
18 return etl::remove_if(first, last, [&value](
auto const& item) {
return item == value; });
constexpr auto remove(ForwardIt first, ForwardIt last, T const &value) -> ForwardIt
Removes all elements satisfying specific criteria from the range [first, last) and returns a past-the...
Definition remove.hpp:16
Definition adjacent_find.hpp:9