Range-v3
Range algorithms, views, and actions for the Standard Library
remove.hpp File Reference

Functions

template<typename I , typename S , typename T , typename P = identity>
requires permutable< I > &&sentinel_for< S, I > &&indirect_relation< equal_to, projected< I, P >, T const * > I ranges::remove (I first, S last, T const &val, P proj=P{})
 function template remove
 
template<typename Rng , typename T , typename P = identity>
requires forward_range< Rng > &&permutable< iterator_t< Rng > > &&indirect_relation< equal_to, projected< iterator_t< Rng >, P >, T const * > borrowed_iterator_t< Rng > ranges::remove (Rng &&rng, T const &val, P proj=P{})
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.