C++ Actor Framework 0.19
|
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_callable & | operator= (from_callable &&)=default |
from_callable & | operator= (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> |
A generator that emits values from a function object.