diff --git a/common.pri b/common.pri index 305b420302..102898ab26 100644 --- a/common.pri +++ b/common.pri @@ -247,6 +247,7 @@ HEADERS += \ $$ROOT_DIR/std/fstream.hpp \ $$ROOT_DIR/std/function.hpp \ $$ROOT_DIR/std/functional.hpp \ + $$ROOT_DIR/std/future.hpp \ $$ROOT_DIR/std/initializer_list.hpp \ $$ROOT_DIR/std/iomanip.hpp \ $$ROOT_DIR/std/ios.hpp \ diff --git a/std/future.hpp b/std/future.hpp new file mode 100644 index 0000000000..1ef27855a6 --- /dev/null +++ b/std/future.hpp @@ -0,0 +1,15 @@ +#pragma once + +#ifdef new +#undef new +#endif + +#include + +using std::async; +using std::future_status; +using std::launch; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif