|
Sierra Toolkit
Version of the Day
|
#include <allocator_eastl.h>
Public Member Functions | |
| EASTL_ALLOCATOR_EXPLICIT | allocator (const char *pName=EASTL_NAME_VAL(EASTL_DEFAULT_NAME_PREFIX)) |
| allocator (const allocator &x) | |
| allocator (const allocator &x, const char *pName) | |
| allocator & | operator= (const allocator &x) |
| void * | allocate (size_t n, int flags=0) |
| void * | allocate (size_t n, size_t alignment, size_t offset, int flags=0) |
| void | deallocate (void *p, size_t n) |
| const char * | get_name () const |
| void | set_name (const char *pName) |
allocator
In this allocator class, note that it is not templated on any type and instead it simply allocates blocks of memory much like the C malloc and free functions. It can be thought of as similar to C++ std::allocator<char>. The flags parameter has meaning that is specific to the allocation
Definition at line 81 of file allocator_eastl.h.