Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
smells--
[simgrid.git] / include / xbt / future.hpp
index b7e52e0..7211c4e 100644 (file)
 
 #include <type_traits>
 
+
+
 namespace simgrid {
 namespace xbt {
 
-/** A value or an exception
+/** A value or an exception (or nothing)
+ *
+ *  This is similar to optional<expected<T>> 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 T>
 class Result {