Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::actions::unique_fn Struct Reference

Synopsis of methods

constexpr action< unique_fnunique {}
 

Public Member Functions

template<typename Rng , typename C = equal_to, typename P = identity>
auto operator() (Rng &&rng, C pred=C{}, P proj=P{}) const -> Rng requires forward_range< Rng > &&erasable_range< Rng &, iterator_t< Rng >, sentinel_t< Rng >> &&sortable< iterator_t< Rng >, C, P >