Nugget
Public Member Functions | Protected Attributes | List of all members
ThrowingAllocator< initialShouldThrow > Class Template Reference

Public Member Functions

 ThrowingAllocator (const char *=EASTL_NAME_VAL("ThrowingAllocator"))
 
 ThrowingAllocator (const ThrowingAllocator &x)
 
 ThrowingAllocator (const ThrowingAllocator &x, const char *)
 
ThrowingAllocatoroperator= (const ThrowingAllocator &x)
 
void * allocate (size_t n, int=0)
 
void * allocate (size_t n, size_t, size_t, int=0)
 
void deallocate (void *p, size_t)
 
const char * get_name () const
 
void set_name (const char *)
 
void set_should_throw (bool shouldThrow)
 
bool get_should_throw () const
 

Protected Attributes

bool mbShouldThrow
 

The documentation for this class was generated from the following file: