C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
caf::flow::gen::from_callable< F > Class Template Reference

A generator that emits values from a function object. More...

#include <from_callable.hpp>

Public Types

using callable_res_t = std::invoke_result_t< F >
 
using output_type = detail::unboxed_t< callable_res_t >
 

Public Member Functions

 from_callable (F fn)
 
 from_callable (from_callable &&)=default
 
 from_callable (const from_callable &)=default
 
from_callableoperator= (from_callable &&)=default
 
from_callableoperator= (const from_callable &)=default
 
template<class Step , class... Steps>
void pull (size_t n, Step &step, Steps &... steps)
 

Static Public Attributes

static constexpr bool boxed_output = detail::is_optional_v<callable_res_t>
 

Detailed Description

template<class F>
class caf::flow::gen::from_callable< F >

A generator that emits values from a function object.


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