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

#include <fn.hpp>

Public Member Functions

template<typename InGen , typename Ret = typename std::vector<typename seq<InGen>::value_type>>
auto operator() (seq< InGen > in) const -> Ret
 
template<typename Cont , typename Ret = std::vector<typename Cont::value_type>>
Ret operator() (Cont cont) const
 

Public Attributes

const F key_fn
 
const int use_max
 

Detailed Description

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

Definition at line 2232 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename F >
template<typename InGen , typename Ret = typename std::vector<typename seq<InGen>::value_type>>
auto rangeless::fn::impl::where_max_by< F >::operator() ( seq< InGen >  in) const -> Ret
inline

Definition at line 2243 of file fn.hpp.

◆ operator()() [2/2]

template<typename F >
template<typename Cont , typename Ret = std::vector<typename Cont::value_type>>
Ret rangeless::fn::impl::where_max_by< F >::operator() ( Cont  cont) const
inline

Definition at line 2275 of file fn.hpp.

Member Data Documentation

◆ key_fn

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

Definition at line 2234 of file fn.hpp.

◆ use_max

template<typename F >
const int rangeless::fn::impl::where_max_by< F >::use_max

Definition at line 2235 of file fn.hpp.


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