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::experimental::make_ready_future(3) C++ Standard Libary std::experimental::make_ready_future(3)

std::experimental::make_ready_future - std::experimental::make_ready_future


Defined in header <experimental/future>
template < class T > (1) (concurrency TS)
future<V /* see below */> make_ready_future(T&& value);
future<void> make_ready_future(); (2) (concurrency TS)


1) If std::decay_t<T> is std::reference_wrapper<X>, then the type V is X&,
otherwise, V is std::decay_t<T>.
Creates a shared state of type V that is immediately ready, with the result
constructed from std::forward<T>(value), then returns a std::experimental::future
associated with that shared state.
2) Creates a shared state of type void that is immediately ready, then returns a
std::experimental::future associated with that shared state.


A std::experimental::future associated with the shared state that is created.


make_exceptional_future produces a future that is ready immediately and holds the
(concurrency TS) given exception
(function template)

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.