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

Synopsis of methods

constexpr view< unique_fnunique {}
 

Public Member Functions

template<typename Rng , typename C = equal_to>
constexpr auto operator() (Rng &&rng, C pred={}) const -> adjacent_filter_view< all_t< Rng >, logical_negate< C >> requires viewable_range< Rng > &&forward_range< Rng > &&indirect_relation< C, iterator_t< Rng >>