efl::eina::view_clone_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::view_clone_allocator Struct Reference
Eina C++Eina C++ » | Data Types » Containers » Clone Allocators Eina C++Eina C++ » | Data Types » | Containers

This allocator does not allocate or deallocate anything. More...

## Static Public Member Functions
template<typename T >
static T * | allocate_clone (T const &v)
template<typename T >
static void | deallocate_clone (T *)

## Detailed Description

This allocator does not allocate or deallocate anything.

It simple gets non-const-qualified pointers for objects, which allow containers to hold elements without having ownership on them.

It is commonly used to create a pointer container that is a view into another existing container.