X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d7dca1d2de1e6d67027e4ba33fefe1eb09550e3..a07e0280b245200f483e170d446156f1dea261f3:/include/xbt/dict.h diff --git a/include/xbt/dict.h b/include/xbt/dict.h index 87c70ec12f..b3cfd35ef3 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -21,6 +21,8 @@ SG_BEGIN_DECL() * This section describes the API to a dictionary structure that associates as string to a void* key. It provides the * same functionality than an hash table. * + * If you are using C++, you might want to use `std::unordered_map` instead. + * * Here is a little example of use: \verbatim @@ -33,7 +35,6 @@ SG_BEGIN_DECL() sprintf(buff,"another good stuff"); xbt_dict_set(mydict,"my data", strdup(buff), free); // previous data gets erased (and freed) by second add \endverbatim - * */ /** @defgroup XBT_dict_cons Dict constructor and destructor