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

#include <fn.hpp>

Public Types

using value_type = decltype(map_fn(std::move(*gen())))
 

Public Member Functions

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

Public Attributes

InGen gen
 
map_fn
 

Detailed Description

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

Definition at line 1547 of file fn.hpp.

Member Typedef Documentation

◆ value_type

template<typename F >
template<typename InGen >
using rangeless::fn::impl::transform< F >::gen< InGen >::value_type = decltype(map_fn(std::move(*gen())))

Definition at line 1552 of file fn.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 1556 of file fn.hpp.

Member Data Documentation

◆ gen

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

Definition at line 1549 of file fn.hpp.

◆ map_fn

template<typename F >
template<typename InGen >
F rangeless::fn::impl::transform< F >::gen< InGen >::map_fn

Definition at line 1550 of file fn.hpp.


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