* asserts and stuff
* \param f a list (#xbt_fifo_t)
* \param i a bucket (#xbt_fifo_item_t)
- * \param type a type
* \param n an object of type \a type.
+ * \param type the type of objects contained in the fifo
* @hideinitializer
*
* Iterates over the whole list.
SG_END_DECL()
+
+#ifdef __cplusplus
+namespace simgrid {
+namespace xbt {
+ inline void destroy(xbt_fifo_t f)
+ {
+ xbt_fifo_free(f);
+ }
+}
+}
+#endif
+
#endif /* _XBT_FIFO_H */