stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
Loading...
Searching...
No Matches

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.

Classes

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).