<future> enums

 

The latest version of this topic can be found at <future> enums.

future_errc Enumeration future_status Enumeration launch Enumeration

future_errc Enumeration

Supplies symbolic names for all of the errors that are reported by the future_error class.

enum class future_errc {
   broken_promise,
   future_already_retrieved,
   promise_already_satisfied,
   no_state
   };  

future_status Enumeration

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

enum class future_status{   
    ready,
    timeout,
    deferred};

launch Enumeration

Represents a bitmask type that describes the possible modes for the template function async.

enum class launch{
   async,
   deferred
   };  

See Also

<future>