X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/30a925489c6e4d4a92042ef80de375c56ccb562b..a79a8e1cab86ccc687cfbc97b01b735acb996f16:/include/xbt/memory.hpp diff --git a/include/xbt/memory.hpp b/include/xbt/memory.hpp index ac71407975..3673943d4e 100644 --- a/include/xbt/memory.hpp +++ b/include/xbt/memory.hpp @@ -12,22 +12,6 @@ namespace simgrid { namespace xbt { -/** Delete operator which call a `destroy()` free function */ -template -struct destroy_delete { - void operator()(T* t) const - { - destroy(t); - } -}; - -/** A `unique_ptr` which works for SimGrid C types (dynar, swag, automaton, etc.) - * - * It uses an overloaded `destroy()` function to delete the object. - */ -template -using unique_ptr = std::unique_ptr >; - } }