rangeless::fn
rangeless::fn::impl::group_adjacent_by< F, BinaryPred > Struct Template Reference

#include <fn.hpp>

Classes

struct  gen
 

Public Member Functions

template<typename InGen >
auto operator() (seq< InGen > in) const -> seq< gen< InGen >>
 
template<typename Iterator >
auto operator() (view< Iterator > v) const -> seq< gen< to_seq::gen< view< Iterator >>>>
 
template<typename Cont >
auto operator() (Cont cont) const -> std::vector< Cont >
 

Public Attributes

const F key_fn
 
const BinaryPred pred2
 

Detailed Description

template<typename F, typename BinaryPred = impl::eq>
struct rangeless::fn::impl::group_adjacent_by< F, BinaryPred >

Definition at line 2657 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/3]

template<typename F , typename BinaryPred = impl::eq>
template<typename InGen >
auto rangeless::fn::impl::group_adjacent_by< F, BinaryPred >::operator() ( seq< InGen >  in) const -> seq<gen<InGen>>
inline

Definition at line 2728 of file fn.hpp.

◆ operator()() [2/3]

template<typename F , typename BinaryPred = impl::eq>
template<typename Iterator >
auto rangeless::fn::impl::group_adjacent_by< F, BinaryPred >::operator() ( view< Iterator >  v) const -> seq<gen<to_seq::gen<view<Iterator>>>>
inline

Definition at line 2731 of file fn.hpp.

◆ operator()() [3/3]

template<typename F , typename BinaryPred = impl::eq>
template<typename Cont >
auto rangeless::fn::impl::group_adjacent_by< F, BinaryPred >::operator() ( Cont  cont) const -> std::vector<Cont>
inline

Definition at line 2735 of file fn.hpp.

Member Data Documentation

◆ key_fn

template<typename F , typename BinaryPred = impl::eq>
const F rangeless::fn::impl::group_adjacent_by< F, BinaryPred >::key_fn

Definition at line 2664 of file fn.hpp.

◆ pred2

template<typename F , typename BinaryPred = impl::eq>
const BinaryPred rangeless::fn::impl::group_adjacent_by< F, BinaryPred >::pred2

Definition at line 2665 of file fn.hpp.


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