rangeless::fn
rangeless::fn::impl::async_wr::gen< InGen > Struct Template Reference

#include <fn.hpp>

Public Types

using value_type = typename InGen::value_type
 
using queue_t = mt::synchronized_queue< maybe< value_type >, mt::lockables::atomic_mutex >
 

Public Member Functions

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

Public Attributes

InGen in_gen
 
const size_t queue_size
 
std::unique_ptr< queue_tqueue
 
std::future< void > fut
 

Detailed Description

template<typename InGen>
struct rangeless::fn::impl::async_wr::gen< InGen >

Definition at line 6854 of file fn.hpp.

Member Typedef Documentation

◆ queue_t

Definition at line 6858 of file fn.hpp.

◆ value_type

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

Definition at line 6856 of file fn.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 6865 of file fn.hpp.

Member Data Documentation

◆ fut

template<typename InGen >
std::future<void> rangeless::fn::impl::async_wr::gen< InGen >::fut

Definition at line 6863 of file fn.hpp.

◆ in_gen

template<typename InGen >
InGen rangeless::fn::impl::async_wr::gen< InGen >::in_gen

Definition at line 6860 of file fn.hpp.

◆ queue

template<typename InGen >
std::unique_ptr<queue_t> rangeless::fn::impl::async_wr::gen< InGen >::queue

Definition at line 6862 of file fn.hpp.

◆ queue_size

template<typename InGen >
const size_t rangeless::fn::impl::async_wr::gen< InGen >::queue_size

Definition at line 6861 of file fn.hpp.


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