* 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.
*
+ * @deprecated If you are using C++, you might want to use `std::unordered_map` instead.
+ *
* Here is a little example of use:
\verbatim
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
SG_END_DECL()
-#ifdef __cplusplus
-namespace simgrid {
-namespace xbt {
- inline void destroy(xbt_dict_t d)
- {
- xbt_dict_free(&d);
- }
-}
-}
-#endif
-
#endif /* _XBT_DICT_H */