This allocator creates copies of objects on the heap, calling their copy constructor to make then equivalent to the given reference. More...
Static Public Member Functions | |
template<typename T > | |
static T * | allocate_clone (T const &v) |
template<typename T > | |
static void | deallocate_clone (T *p) |
This allocator creates copies of objects on the heap, calling their copy constructor to make then equivalent to the given reference.
The created objects are released with the default delete.