|
YOrch 1.0.0
|
Bound executable task composed of a callable and per-parameter specs. More...
#include <types.hpp>
Public Types | |
| using | raw_result_type = detail::result_t< F > |
| Raw return type declared by the stored callable. | |
Public Member Functions | |
| template<typename Ctx , typename Prev > | |
| constexpr decltype(auto) | invoke_raw (exec_context< Ctx, Prev > &ec) noexcept(noexcept(call_impl_raw(ec, std::index_sequence_for< Specs... >{}))) |
| Resolves all specs and executes the bound callable. | |
Public Attributes | |
| F | func |
| Stored callable to execute. | |
| std::tuple< Specs... > | specs |
| Stored argument binding specs in parameter order. | |
Bound executable task composed of a callable and per-parameter specs.
At execution time, each spec is resolved against the target parameter type deduced from F, then the callable is invoked and its original return value is forwarded back to the caller.
| F | Stored callable type. |
| Specs | Stored spec types, one for each function parameter. |
| using yorch::bound_task< F, Specs >::raw_result_type = detail::result_t<F> |
|
inlineconstexprnoexcept |
| F yorch::bound_task< F, Specs >::func |
| std::tuple<Specs...> yorch::bound_task< F, Specs >::specs |