Manages allocation and deallocation of memory using the function malloc and free.
More...
Static Public Member Functions | |
| template<typename T > | |
| static T * | allocate_clone (T const &v) |
| template<typename T > | |
| static void | deallocate_clone (T const *p) |
Manages allocation and deallocation of memory using the function malloc and free.
This allocator does not calls constructors, the content of the newly allocated objects are assigned using memcpy, so it has to be used with types that have standard-layout.