rangeless::fn
rangeless::fn::impl::take_top_n_by< F > Struct Template Reference

#include <fn.hpp>

Public Member Functions

template<typename Iterable >
auto operator() (Iterable src) const -> std::vector< typename Iterable::value_type >
 

Public Attributes

const F key_fn
 
const size_t cap
 

Detailed Description

template<typename F>
struct rangeless::fn::impl::take_top_n_by< F >

Definition at line 2585 of file fn.hpp.

Member Function Documentation

◆ operator()()

template<typename F >
template<typename Iterable >
auto rangeless::fn::impl::take_top_n_by< F >::operator() ( Iterable  src) const -> std::vector<typename Iterable::value_type>
inline

Definition at line 2591 of file fn.hpp.

Member Data Documentation

◆ cap

template<typename F >
const size_t rangeless::fn::impl::take_top_n_by< F >::cap

Definition at line 2588 of file fn.hpp.

◆ key_fn

template<typename F >
const F rangeless::fn::impl::take_top_n_by< F >::key_fn

Definition at line 2587 of file fn.hpp.


The documentation for this struct was generated from the following file: