rangeless::fn
rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen > Struct Template Reference

#include <fn.hpp>

Public Types

using value_type = typename InGen::value_type
 
using state_t = maybe< value_type >
 

Public Member Functions

auto operator() () -> maybe< value_type >
 

Public Attributes

InGen gen
 
const F key_fn
 
state_t next
 

Detailed Description

template<typename F>
template<typename InGen>
struct rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >

Definition at line 3066 of file fn.hpp.

Member Typedef Documentation

◆ state_t

template<typename F >
template<typename InGen >
using rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >::state_t = maybe<value_type>

Definition at line 3073 of file fn.hpp.

◆ value_type

template<typename F >
template<typename InGen >
using rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >::value_type = typename InGen::value_type

Definition at line 3071 of file fn.hpp.

Member Function Documentation

◆ operator()()

template<typename F >
template<typename InGen >
auto rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >::operator() ( ) -> maybe<value_type>
inline

Definition at line 3078 of file fn.hpp.

Member Data Documentation

◆ gen

template<typename F >
template<typename InGen >
InGen rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >::gen

Definition at line 3068 of file fn.hpp.

◆ key_fn

template<typename F >
template<typename InGen >
const F rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >::key_fn

Definition at line 3069 of file fn.hpp.

◆ next

template<typename F >
template<typename InGen >
state_t rangeless::fn::impl::unique_adjacent_by< F >::gen< InGen >::next

Definition at line 3076 of file fn.hpp.


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