constructor · 4 overloads
std::promise<R&>::promise
- Header
<future>- Draft
- [future.syn]
- Scope
std::promise<R&>- cppreference
- <future> nearest page
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);