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

Public Member Functions

P sentinel_t< Rng > &&sortable< iterator_t< Rng >, C, P > Rng operator() (Rng &&rng, C pred=C{}, P proj=P{}) const
 
template<typename C , typename P = identity>
 requires (!range< C >)` const expr auto operator()(C pred
 

Public Attributes

C = equal_to
 
iterator_t< Rng >
 
P = identity > requires ` forward_range<Rng> && erasable_range<Rng &
 
proj
 

Member Data Documentation

◆ proj

P ranges::actions::unique_fn::proj
Initial value:
= P{}) const
{
bind_back(unique_fn{}, std::move(pred), std::move(proj)));
}
template<typename Rng
ranges::make_action_closure
constexpr make_action_closure_fn make_action_closure
Definition: action.hpp:37
ranges::aux::move
constexpr move_fn move
Definition: move.hpp:48
meta::lazy::bind_back
defer< bind_back, Fn, Ts... > bind_back
Definition: meta.hpp:785