rangeless::fn
rangeless::fn::impl::sort_by< F, SortTag > Struct Template Reference

#include <fn.hpp>

Public Member Functions

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

Public Attributes

const F key_fn
 

Detailed Description

template<typename F, typename SortTag = stable_sort_tag>
struct rangeless::fn::impl::sort_by< F, SortTag >

Definition at line 2471 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename F , typename SortTag = stable_sort_tag>
template<typename Gen >
auto rangeless::fn::impl::sort_by< F, SortTag >::operator() ( seq< Gen >  r) const -> std::vector<typename seq<Gen>::value_type>
inline

Definition at line 2476 of file fn.hpp.

◆ operator()() [2/2]

template<typename F , typename SortTag = stable_sort_tag>
template<typename Iterable >
Iterable rangeless::fn::impl::sort_by< F, SortTag >::operator() ( Iterable  src) const
inline

Definition at line 2482 of file fn.hpp.

Member Data Documentation

◆ key_fn

template<typename F , typename SortTag = stable_sort_tag>
const F rangeless::fn::impl::sort_by< F, SortTag >::key_fn

Definition at line 2473 of file fn.hpp.


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