|
Zth (libzth)
|
#include <future.h>
Public Types | |
| using | value_type = T |
| using | Future_type = zth::Future< value_type > |
Public Member Functions | |
| std_promise_base & | operator= (std_promise_base &&other) noexcept |
| std_promise_base (std_promise_base const &)=delete | |
| std_promise_base & | operator= (std_promise_base const &)=delete |
| void | swap (std_promise_base &other) noexcept |
| std::future< zth::type< T > > | get_future () |
| template<typename U > | |
| void | set_value (U &&value) |
| void | set_value () |
| void | set_exception (std::exception_ptr exception) |
Protected Member Functions | |
| std_promise_base () | |
| std_promise_base (SharedPointer< Future_type > future) noexcept | |
| std_promise_base (std_promise_base &&other) noexcept | |
| void | check_valid () const |
| void | check_not_satisfied () const |
| using zth::impl::std_promise_base< T >::Future_type = zth::Future<value_type> |
| using zth::impl::std_promise_base< T >::value_type = T |
|
inlineprotected |
|
inlineexplicitprotectednoexcept |
|
inlineprotectednoexcept |
|
delete |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlinenoexcept |
|
delete |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |