Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.15 KB

future-enums.md

File metadata and controls

52 lines (40 loc) · 1.15 KB
description title ms.date f1_keywords ms.assetid
Learn more about: <future> enums
<future> enums
11/04/2016
future/std::future_errc
future/std::future_status
future/std::launch
8c675645-db47-4cab-bc0e-7b87f8a302df

<future> enums

future_errc
future_status
launch

future_errc Enumeration

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

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 future_status{
    ready,
    timeout,
    deferred
};

launch Enumeration

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

class launch{
   async,
   deferred
   };

See also

<future>