std::launch

Header: <future>

std::launch is a BitmaskType. It specifies the launch policy for a task executed by the std::async function.

# Declarations

enum class launch : /* unspecified */ {
async = /* unspecified */,
deferred = /* unspecified */,
/* implementation-defined */
};

(since C++11)

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 2102C++11std::launch was an implementation-defined typeit is not implementation-defined

# See also