rangeless::fn
rangeless::fn::impl::catch_end< Gen > Struct Template Reference

#include <fn.hpp>

Public Types

using value_type = decltype(gen())
 

Public Member Functions

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

Public Attributes

Gen gen
 
bool ended
 

Detailed Description

template<typename Gen>
struct rangeless::fn::impl::catch_end< Gen >

Definition at line 352 of file fn.hpp.

Member Typedef Documentation

◆ value_type

template<typename Gen >
using rangeless::fn::impl::catch_end< Gen >::value_type = decltype(gen())

Definition at line 359 of file fn.hpp.

Member Function Documentation

◆ operator()()

template<typename Gen >
auto rangeless::fn::impl::catch_end< Gen >::operator() ( ) -> maybe<value_type>
inline

Definition at line 361 of file fn.hpp.

Member Data Documentation

◆ ended

template<typename Gen >
bool rangeless::fn::impl::catch_end< Gen >::ended

Definition at line 355 of file fn.hpp.

◆ gen

template<typename Gen >
Gen rangeless::fn::impl::catch_end< Gen >::gen

Definition at line 354 of file fn.hpp.


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