|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
shared_future::shared_future | ||||
| Getting the result | ||||
| State | ||||
shared_future()noexcept; | (1) | (since C++11) |
| (2) | ||
shared_future(const shared_future& other); | (since C++11) (until C++17) | |
shared_future(const shared_future& other)noexcept; | (since C++17) | |
shared_future(std::future<T>&& other)noexcept; | (3) | (since C++11) |
shared_future( shared_future&& other)noexcept; | (4) | (since C++11) |
Constructs a newshared_future.
| other | - | another future object to initialize with |