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