Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[xbt] Comment about xbt::Result
[simgrid.git] / include / xbt / future.hpp
index aa559db..7211c4e 100644 (file)
 namespace simgrid {
 namespace xbt {
 
-/** A value or an exception
+/** A value or an exception (or nothing)
  *
- *  The API is similar to the one of future and promise.
+ *  This is similar to optional<expected<T>> but it with a Future/Promise
+ *  like API.
+ *
+ *  Also the name it not so great.
  **/
 template<class T>
 class Result {