function template · 2 overloads
std::remove_if
- Header
<algorithm>- Draft
- [alg.remove]
- Scope
std- cppreference
- std::remove_if
Overloads
- (1)
template<class ForwardIterator, class Predicate> [[nodiscard]] constexpr ForwardIterator remove_if( ForwardIterator first, ForwardIterator last, Predicate pred); - (2)
template<class ExecutionPolicy, class ForwardIterator, class Predicate> requires execution-policy<ExecutionPolicy> ForwardIterator remove_if( ExecutionPolicy&&, ForwardIterator first, ForwardIterator last, Predicate pred) noexcept;