|
YACLib
C++ library for concurrent tasks execution
|
#include <shared_promise.hpp>
Public Member Functions | |
| SharedPromise () noexcept=default | |
| SharedPromise (const SharedPromise &other)=delete | |
| SharedPromise & | operator= (const SharedPromise &other)=delete |
| SharedPromise (SharedPromise &&other) noexcept=default | |
| SharedPromise & | operator= (SharedPromise &&other) noexcept=default |
| bool | Valid () const noexcept |
| template<typename... Args> | |
| void | Set (Args &&... args) && |
| ~SharedPromise () | |
| SharedPromise (detail::SharedCorePtr< V, E > core) noexcept | |
| Part of unsafe but internal API. | |
| detail::SharedCorePtr< V, E > & | GetCore () noexcept |
Definition at line 8 of file shared_promise.hpp.
|
defaultnoexcept |
|
delete |
|
defaultnoexcept |
|
inline |
Definition at line 42 of file shared_promise.hpp.
References yaclib::MakeContract(), and yaclib::SharedPromise< V, E >::Valid().
|
inlineexplicitnoexcept |
Part of unsafe but internal API.
Definition at line 51 of file shared_promise.hpp.
|
inlinenoexcept |
Definition at line 54 of file shared_promise.hpp.
|
delete |
|
defaultnoexcept |
|
inline |
Definition at line 28 of file shared_promise.hpp.
References yaclib::MakeContract(), yaclib::SharedPromise< V, E >::Valid(), and YACLIB_ASSERT.
|
inlinenoexcept |
Definition at line 23 of file shared_promise.hpp.
Referenced by yaclib::SharedPromise< V, E >::Set(), and yaclib::SharedPromise< V, E >::~SharedPromise().