A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/future/future_status/ below:

enum class

<future>

std::future_status
enum class future_status;

Return value for timed future operations

This enum class type defines the possible return values of the wait_for and wait_until member functions of future and shared_future. future_status label int value description future_status::ready 0 The function returned because the shared state was ready. future_status::timeout 1 The function returned because the specified time was exhausted. future_status::deferred 2 The function returned because the shared state contains a deferred function (see std::async).
See also
future::wait_for
Wait for ready during time span (public member function)
future::wait_until
Wait for ready until time point (public member function)
shared_future::wait_for
Wait for ready during time span (public member function)
shared_future::wait_until
Wait for ready until time point (public member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4