14#ifndef RANGES_V3_VIEW_UNIQUE_HPP
15#define RANGES_V3_VIEW_UNIQUE_HPP
25#include <range/v3/utility/static_const.hpp>
30#include <range/v3/detail/prologue.hpp>
40 template(
typename Rng,
typename C =
equal_to)(
44 operator()(Rng && rng, C pred = {})
const
46 return {all(
static_cast<Rng &&
>(rng)), not_fn(pred)};
52 using unique_base_fn::operator();
56 constexpr auto operator()(C && pred)
const
58 return make_view_closure(
70#include <range/v3/detail/epilogue.hpp>
The forward_range concept.
The indirect_relation concept.
The viewable_range concept.
decltype(begin(declval(Rng &))) iterator_t
Definition access.hpp:698
Definition adjacent_filter.hpp:63
Definition comparisons.hpp:28