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

Public Member Functions

template<typename C >
requires (!range<C>)
constexpr auto operator() (C &&pred) const
 
- Public Member Functions inherited from ranges::views::unique_base_fn
template<typename Rng , typename C = equal_to>
requires viewable_range<Rng> && forward_range<Rng> && indirect_relation<C, iterator_t<Rng>>
constexpr adjacent_filter_view< all_t< Rng >, logical_negate< C > > operator() (Rng &&rng, C pred={}) const
 

Related Functions

(Note that these are not member functions.)

constexpr view_closure< unique_fnunique {}