efl::eina::heap_copy_allocator Struct Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Static Public Member Functions
efl::eina::heap_copy_allocator Struct Reference
Eina C++Eina C++ » | Data Types » Containers » Clone Allocators

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.