X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/48ef6259ec77780125d2e64ff0e8cf825f3cd674..4c427bd273d7f90bbe5233b6fe8d20bfd945ea4b:/include/xbt/dynar.h?ds=inline diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index 63d2b18068..c22b219bcd 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -257,16 +257,4 @@ xbt_dynar_foreach (dyn,cpt,str) { /** @} */ SG_END_DECL() -#ifdef __cplusplus -namespace simgrid { -namespace xbt { -/** Dynar of `T*` which `delete` its values */ -template inline xbt_dynar_t newDeleteDynar() -{ - return xbt_dynar_new(sizeof(T*), [](void* p) { delete *(T**)p; }); -} -} -} -#endif - #endif /* XBT_DYNAR_H */