This class defines an exception object for memory allocation operations. Objects of this class contain information about an allocation request.
Synopsis
Declared in <bslma_testallocatorexception.h>
class TestAllocatorException
: public std::bad_alloc
Base Classes
Name |
Description |
|
Exception possibly thrown by |
Type Aliases
Name |
Description |
Alias for the type used by the |
Member Functions
Name |
Description |
|
Create an exception object initialized with the specified |
Return the number of bytes (supplied at construction) that indicates an allocation request size. |
|
|
Return a pointer to the string literal "bslma::TestAllocatorException" having a storage duration of the lifetime of the program. Note that the caller should not attempt to free this memory. |
Created with MrDocs