Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change two dynars (maybe more).
[simgrid.git] / include / xbt / dynar.h
index 63d2b18..c22b219 100644 (file)
@@ -257,16 +257,4 @@ xbt_dynar_foreach (dyn,cpt,str) {
 /** @} */
 SG_END_DECL()
 
 /** @} */
 SG_END_DECL()
 
-#ifdef __cplusplus
-namespace simgrid {
-namespace xbt {
-/** Dynar of `T*` which `delete` its values */
-template <class T> inline xbt_dynar_t newDeleteDynar()
-{
-  return xbt_dynar_new(sizeof(T*), [](void* p) { delete *(T**)p; });
-}
-}
-}
-#endif
-
 #endif /* XBT_DYNAR_H */
 #endif /* XBT_DYNAR_H */