 st8b7c:f320:99b9:690f:4595:cd17:293a:c069launch    Defined in header <future>         enum class launch : /* unspecified */ {
    async =    /* unspecified */,
    deferred = /* unspecified */,
    /* implementation-defined */
};
    (since C++11)    Specifies the launch policy for a task executed by the st8b7c:f320:99b9:690f:4595:cd17:293a:c069async function. st8b7c:f320:99b9:690f:4595:cd17:293a:c069launch is an enumeration used as BitmaskType.
The following constants denoting individual bits are defined by the standard library:
   Constant   Explanation 
   st8b7c:f320:99b9:690f:4595:cd17:293a:c069launch8b7c:f320:99b9:690f:4595:cd17:293a:c069sync   the task is executed on a different thread, potentially by creating and launching it first 
   st8b7c:f320:99b9:690f:4595:cd17:293a:c069launch8b7c:f320:99b9:690f:4595:cd17:293a:c069rred   the task is executed on the calling thread the first time its result is requested (lazy evaluation) 
  In addition, implementations are allowed to:

 define additional bits and bitmasks to specify restrictions on task interactions applicable to a subset of launch policies, and 
 enable those additional bitmasks for the first (default) overload of st8b7c:f320:99b9:690f:4595:cd17:293a:c069async. 
  See also     async
(C++11)   runs a function asynchronously (potentially in a new thread) and returns a st8b7c:f320:99b9:690f:4595:cd17:293a:c069future that will hold the result  (function template) 
  

    
{'path': 'public/docs/cpp/thread/launch.html', 'source': 'DevDocs.IO'}