FreeBSD Manual Pages
std::experi...eady_future(3) C++ Standard Libary std::experi...eady_future(3) NAME std::experimental::make_ready_future - std::experimen- tal::make_ready_future Synopsis Defined in header <experimental/future> template < class T > (1) (concur- rency TS) future<V /* see below */> make_ready_future(T&& value); future<void> make_ready_future(); (2) (concur- rency 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::experi- mental::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. Return value A std::experimental::future associated with the shared state that is created. See also make_exceptional_future produces a future that is ready immediately and holds the (concurrency TS) given exception (function template) http://cppreference.com 2022.07.31 std::experi...eady_future(3)
NAME | Synopsis | Return value | See also
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::make_ready_future&sektion=3&manpath=FreeBSD+Ports+15.0>
