rangeless::fn
rangeless::fn::impl::refs_gen< Iterable > Struct Template Reference

#include <fn.hpp>

Public Types

using value_type = decltype(std::ref(*cont.begin()))
 

Public Member Functions

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

Public Attributes

Iterable & cont
 
decltype(cont.begin()) it
 

Detailed Description

template<typename Iterable>
struct rangeless::fn::impl::refs_gen< Iterable >

Definition at line 626 of file fn.hpp.

Member Typedef Documentation

◆ value_type

template<typename Iterable >
using rangeless::fn::impl::refs_gen< Iterable >::value_type = decltype(std::ref(*cont.begin()))

Definition at line 630 of file fn.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 635 of file fn.hpp.

Member Data Documentation

◆ cont

template<typename Iterable >
Iterable& rangeless::fn::impl::refs_gen< Iterable >::cont

Definition at line 628 of file fn.hpp.

◆ it

template<typename Iterable >
decltype(cont.begin()) rangeless::fn::impl::refs_gen< Iterable >::it

Definition at line 633 of file fn.hpp.


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