constructor · 4 overloads
std::promise::promise
- Header
<future>- Draft
- [futures.promise]
- Scope
std::promise- cppreference
- std::promise::promise
Constructors
Overloads
- (1)
promise(); - (2)
promise(const promise& other) = delete; - (3)
promise(promise&& rhs) noexcept; - (4)
template<class Allocator> promise(allocator_arg_t, const Allocator& a);