5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REMOVE_IF_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REMOVE_IF_HPP_
8#include "arene/base/algorithm/detail/traits.hpp"
77 arene::base::algorithm_detail::iter_reference_t<I>,
85 arene::base::advance(first, arene::base::algorithm_detail::iter_difference_t<I>{1});
Provides a backport of C++17's constexpr std::advance.
Public export header for the constraints subpackage.
ARENE_NODISCARD constexpr auto next(Iterator itr, typename std::iterator_traits< Iterator >::difference_type steps=1) noexcept(noexcept(::arene::base::advance(itr, steps))) -> Iterator
Produces the Nth successor (or predecessor if steps is negative) of an iterator.
Definition next.hpp:38
constexpr auto find_if(Iterator first, Iterator last, Predicate pred) noexcept(denotes_nothrow_iterable_range_v< Iterator > &&base::is_nothrow_invocable_v< Predicate &, typename std::iterator_traits< Iterator >::reference >) -> Iterator
Returns an iterator to the first element in the range [first, last) that satisfies equality criteria:...
Definition find_if.hpp:42
typename constraints_impl::constraints< EnableIfs... >::type constraints
Helper used to express template constraints in a consistent way using std::enable_if_t.
Definition constraints.hpp:51
constexpr bool is_move_assignable_v
determine if a type satisfies the MoveAssignable named requirement
constexpr auto move(T &&value) noexcept -> remove_reference_t< T > &&
Cast a value to an rvalue.
Definition move.hpp:30
auto remove_if(I first, I last, P pred) noexcept(//noexcept(arene::base::find_if(std::declval< I & >(), std::declval< I & >(), std::declval< P & >())) &&//noexcept(!std::declval< P & >()(*std::declval< I & >())) &&//std::is_nothrow_move_assignable_v< I > &&//std::is_nothrow_assignable_v< arene::base::algorithm_detail::iter_reference_t< I >, std::remove_reference_t< arene::base::algorithm_detail::iter_reference_t< I > > && >//) -> I
removes elements satisfying specific criteria
Definition remove_if.hpp:72
typename enable_if< Condition, Type >::type enable_if_t
Type alias to support constraining templates. Is an alias for the specified type if the Condition is ...
Definition enable_if.hpp:41
constexpr bool is_nothrow_assignable_v
Type trait to detect if an instance of To is assignable to from arguments of From without throwing.
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...
constexpr bool is_nothrow_move_assignable_v
Type trait to detect if an instance of T is move assignable without throwing.
typename remove_reference< T >::type remove_reference_t
An alias for T, but with top-level reference qualifiers removed.
Definition remove_reference.hpp:47