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

Synopsis of methods

constexpr group_by_fn group_by {}

Public Member Functions

template<typename Fun >
constexpr auto operator() (Fun fun) const
- Public Member Functions inherited from ranges::views::group_by_base_fn
template<typename Rng , typename Fun >
constexpr auto operator() (Rng &&rng, Fun fun) const -> group_by_view< all_t< Rng >, Fun > requires viewable_range< Rng > &&forward_range< Rng > &&indirect_relation< Fun, iterator_t< Rng >>