Sierra Toolkit Version of the Day
eastl::allocator Class Reference

#include <allocator_eastl.h>

List of all members.

Public Member Functions

 allocator (const allocator &x)
 allocator (const allocator &x, const char *pName)
allocatoroperator= (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)

Detailed Description


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.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends