◐ Shell
clean mode source ↗

std::future_status – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<future>

enum class future_status { ready, timeout, deferred };

(seit C++11)

Specifies state of a future as returned by wait_for and wait_until functions of std::future and std::shared_future.

Constant

Original:

Constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Explanation
deferred the shared state contains a deferred function, so the result will be computed only when explicitly requested
ready the shared state is ready
timeout the shared state did not become ready before specified timeout duration has passed

Siehe auch

waits for the result, returns if it is not available for the specified timeout duration
(öffentliche Elementfunktion of std::future) [edit]
waits for the result, returns if it is not available for the specified timeout duration
(öffentliche Elementfunktion of std::shared_future) [edit]

wartet auf das Ergebnis liefert, wenn es nicht verfügbar ist, bis spezifizierte Zeit erreicht worden ist

Original:

waits for the result, returns if it is not available until specified time point has been reached

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion of std::future) [edit]

wartet auf das Ergebnis liefert, wenn es nicht verfügbar ist, bis spezifizierte Zeit erreicht worden ist

Original:

waits for the result, returns if it is not available until specified time point has been reached

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion of std::shared_future) [edit]