X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b9a15f078a62e397f321dfb570254652785cc377..71980d9754a6693a769dce2f1e55d92103b46b5e:/include/xbt/future.hpp diff --git a/include/xbt/future.hpp b/include/xbt/future.hpp index aa559db2a7..578e7b2942 100644 --- a/include/xbt/future.hpp +++ b/include/xbt/future.hpp @@ -9,20 +9,21 @@ #include -#include #include +#include #include - #include - - +#include namespace simgrid { namespace xbt { -/** A value or an exception +/** A value or an exception (or nothing) + * + * This is similar to optional> but it with a Future/Promise + * like API. * - * The API is similar to the one of future and promise. + * Also the name it not so great. **/ template class Result {