Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[xbt] Comment about xbt::Result
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 20 Jun 2016 10:42:01 +0000 (12:42 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 20 Jun 2016 10:42:36 +0000 (12:42 +0200)
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 {