fork download
  1. #include <future>
  2.  
  3. int main(int argc, const char* argv[]) {
  4. std::launch::async | std::launch::deferred;
  5. }
  6.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main(int, const char**)':
prog.cpp:4:26: error: 'deferred' is not a member of 'std::launch'
stdout
Standard output is empty