GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::packaged_task::get_future(3) C++ Standard Libary std::packaged_task::get_future(3)

std::packaged_task::get_future - std::packaged_task::get_future


std::future<R> get_future(); (since C++11)


Returns a future which shares the same shared state as *this.


get_future can be called only once for each packaged_task.


(none)


A future which shares the same shared state as *this.


std::future_error on the following error conditions:


* The shared state has already been retrieved via a call to get_future. The error
category is set to future_already_retrieved.
* *this has no shared state. The error category is set to no_state.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.