More...
#include <future.h>
Inherits dispenso::detail::FutureBase< void >.
|
| | Future () noexcept |
| |
| | Future (Future &&f) noexcept |
| |
| | Future (Base &&f) noexcept |
| |
| | Future (const Future &f) noexcept |
| |
| | Future (const Base &f) noexcept |
| |
| template<typename F , typename Schedulable > |
| | Future (F &&f, Schedulable &schedulable, std::launch asyncPolicy=kNotAsync, std::launch deferredPolicy=std::launch::deferred) |
| |
| void | get () const |
| |
Definition at line 359 of file future.h.
◆ Future() [1/6]
Default constructor.
Definition at line 364 of file future.h.
◆ Future() [2/6]
Move constructor.
Definition at line 366 of file future.h.
◆ Future() [3/6]
Move constructor.
Definition at line 368 of file future.h.
◆ Future() [4/6]
Copy constructor.
Definition at line 370 of file future.h.
◆ Future() [5/6]
Copy constructor.
Definition at line 372 of file future.h.
◆ Future() [6/6]
template<typename F , typename Schedulable >
| dispenso::Future< void >::Future |
( |
F && | f, |
|
|
Schedulable & | schedulable, |
|
|
std::launch | asyncPolicy = kNotAsync, |
|
|
std::launch | deferredPolicy = std::launch::deferred ) |
|
inline |
◆ get()
Block until the functor has been called.
Definition at line 405 of file future.h.
◆ Future
◆ make_ready_future
| Future< void > make_ready_future |
( |
| ) |
|
|
friend |
The documentation for this class was generated from the following file: