execution 1.0.1
Portable task execution, timers, and process lifecycle
Loading...
Searching...
No Matches

Move-only callable wrapper for executor scheduling (task<Signature>). More...

Classes

struct  stlab::stlab_v2_task_concept
 Versioned operation table used to relocate a task target across the shared executor ABI. More...
class  stlab::task_< NoExcept, R, Args >
 Type-erased, move-only callable with signature R(Args...) (or noexcept variant). More...
struct  stlab::noexcept_deducer< T, F >
struct  stlab::noexcept_deducer< T, R(Args...)>
struct  stlab::noexcept_deducer< T, R(Args...) noexcept >

Typedefs

template<class F>
using stlab::task
 task_ with noexcept deduced from the function type F (e.g. void() vs void() noexcept).

Variables

constexpr std::size_t stlab::stlab_v2_task_storage_size
 Number of bytes reserved for a v2 task's relocatable inline model.
constexpr std::size_t stlab::stlab_v2_task_storage_alignment
 Alignment required by a v2 task's relocatable inline model.

Detailed Description

Move-only callable wrapper for executor scheduling (task<Signature>).

Use the task alias (task<F> deduces noexcept from the signature). See task.hpp.