memory_pool.h File Reference

#include "../api_core.h"
#include <new>
#include <memory>

Go to the source code of this file.

Classes

class  CL_MemoryPool
 Memory allocation interface. More...
class  CL_MemoryPoolAllocator< _Type >
 STL allocator using CL_MemoryPool. More...
struct  CL_MemoryPoolAllocator< _Type >::rebind< _Other >

Defines

#define cl_new   new
 Memory pool new.

Functions

void * operator new (size_t size, CL_MemoryPool *pool)
 Memory pool operator new.
void operator delete (void *data, CL_MemoryPool *pool)
 Memory pool operator delete.
void * operator new[] (size_t size, CL_MemoryPool *pool)
 Memory pool operator new[].
void operator delete[] (void *data, CL_MemoryPool *pool)
 Memory pool operator delete[].
template<typename Type>
void cl_delete (CL_MemoryPool *pool, Type *obj)
 Memory pool delete.
template<typename Type>
void cl_delete (CL_MemoryPool *pool, Type *obj, size_t array_size)
 Memory pool delete.


Generated on Thu Dec 3 02:39:33 2009 for ClanLib by  doxygen 1.4.6