다음을 통해 공유


future_status Enumeration

Supplies symbolic names for the reasons that a timed wait function can return.

enum future_status{
    ready,
    timeout,
    deferred
};

Members

Values

Name

Description

deferred

The associated asynchronous state holds a deferred function that's not running.

ready

The associated asynchronous state is ready.

timeout

The time limit was reached.

Requirements

Header: future

Namespace: std::future_status

See Also

Reference

<future>

Other Resources

C++ Standard Library Header Files