X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cfc676704bebcd57e5ea98bb43154245a150948f..a07e0280b245200f483e170d446156f1dea261f3:/include/xbt/dynar.h diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index 6dcebc9fc0..874eb46f5b 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -25,8 +25,10 @@ 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. + * * \section XBT_dynar_exscal Example with scalar - * \dontinclude dynar.c + * \dontinclude dynar.cpp * * \skip Vars_decl * \skip dyn @@ -256,6 +258,6 @@ xbt_dynar_foreach (dyn,cpt,str) { (_cursor)++ ) #endif /** @} */ - SG_END_DECL() + #endif /* _XBT_DYNAR_H */