Public Member Functions | |
template<typename I , typename S , typename C = equal_to, typename P = ident, requires = (Sortable<I, C, P>() && Sentinel<S, I>())> | |
I | operator() (I begin, S end, C pred_=C{}, P proj_=P{}) const |
template function unique_fn::operator() More... | |
template<typename Rng , typename C = equal_to, typename P = ident, typename I = range_iterator_t<Rng>, requires = (Sortable<I, C, P>() && Range<Rng>())> | |
range_safe_iterator_t< Rng > | operator() (Rng &&rng, C pred=C{}, P proj=P{}) const |
I ranges::v3::unique_fn::operator() | ( | I | begin, |
S | end, | ||
C | pred_ = C{} , |
||
P | proj_ = P{} |
||
) | const |
template function unique_fn::operator()
range-based version of the unique
std algorithm
Rng
is a model of the ForwardView
concept I
is a model of the ForwardIterator
concept S
is a model of the Sentinel
concept C
is a model of the CallableRelation
concept