From b0ffeb85dcd9b23d14bf0eaad4077daee4e50579 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Mon, 20 Jun 2016 12:42:01 +0200 Subject: [PATCH] [xbt] Comment about xbt::Result --- include/xbt/future.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/xbt/future.hpp b/include/xbt/future.hpp index aa559db2a7..7211c4ec77 100644 --- a/include/xbt/future.hpp +++ b/include/xbt/future.hpp @@ -20,9 +20,12 @@ 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> but it with a Future/Promise + * like API. + * + * Also the name it not so great. **/ template class Result { -- 2.20.1