Static Public Member Functions
efl::eina::heap_copy_allocator Struct Reference

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)
 

Detailed Description

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.