Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[doc] @deprecate XBT structures
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 19 Jul 2016 10:32:23 +0000 (12:32 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 19 Jul 2016 10:32:23 +0000 (12:32 +0200)
include/xbt/dict.h
include/xbt/dynar.h
include/xbt/fifo.h
include/xbt/heap.h
include/xbt/swag.h

index b3cfd35..59eb624 100644 (file)
@@ -21,7 +21,7 @@ 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.
+ *  @deprecated If you are using C++, you might want to use `std::unordered_map` instead.
  *
  *  Here is a little example of use:
 
index 874eb46..fa25a74 100644 (file)
@@ -25,7 +25,7 @@ SG_BEGIN_DECL()
   * \ref XBT_dict section). You thus have to provide the function which will be used to free the content at
   * structure creation (of type void_f_ppvoid_t or void_f_pvoid_t).
   *
-  *  If you are using C++, you might want to use `std::vector` instead.
+  * @deprecated If you are using C++, you might want to use `std::vector` instead.
   *
   * \section XBT_dynar_exscal Example with scalar
   * \dontinclude dynar.cpp
index 5f6432b..66ccf3d 100644 (file)
@@ -17,8 +17,8 @@ SG_BEGIN_DECL()
  * These functions provide the same kind of functionality as dynamic arrays
  * but in time O(1). However these functions use malloc/free way too much often.
  *
- *  If you are using C++, you might want to used std::list, std::deque or
- *  std::queue instead.
+ *  @deprecated If you are using C++, you might want to used `std::list`,
+ *  `std::deque` or `std::queue instead`.
  */
  
 /** @defgroup XBT_fifo_cons Fifo constructor and destructor
index 3fe2951..89ee7d1 100644 (file)
@@ -15,7 +15,8 @@ SG_BEGIN_DECL()
 /** @addtogroup XBT_heap
  *  @brief This section describes the API to generic heap with O(log(n)) access.
  *
- *  If you are using C++ you might want to use std::priority_queue instead.
+ *  @deprecated If you are using C++ you might want to use `std::priority_queue`
+ *  instead.
  *
  *  @{
  */
index 318be64..a0f6b3e 100644 (file)
@@ -24,7 +24,8 @@ SG_BEGIN_DECL()
  *  It is basically a fifo but with restrictions so that it can be used as a set. Any operation (add, remove, belongs)
  *  is O(1) and no call to malloc/free is done.
  *
- *  If you are using C++, you might want to use boost::intrusive::set instead.
+ *  @deprecated If you are using C++, you might want to use
+ *  `boost::intrusive::set` instead.
  */
 /** @defgroup XBT_swag_type Swag types
     @ingroup XBT_swag