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

Synopsis of methods

constexpr view< group_by_fngroup_by {}
 

Public Member Functions

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 >>