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

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.