This allocator implements the minimal interface to comply with section 20.1.5 ([lib.allocator.requirements]) of the C++03 standard. Instances of this allocator delegate their operations to a globally configured delegate allocator as C++03 compliant allocators cannot have individually identifiable state (see StdTestAllocatorConfiguration and 'StdTestAllocatorConfigurationGuard).
Synopsis
Declared in <bsltf_stdtestallocator.h>
template<class TYPE>
class StdTestAllocator;
Types
Name |
Description |
This nested |
Type Aliases
Name |
Description |
Alias for a pointer to |
|
Alias for a reference to |
|
Alias for |
|
Alias for a pointer to |
|
Alias for a reference to |
|
Alias for |
|
Alias for the allocated |
Member Functions
Name |
Description |
|
Constructors |
|
|
Allocate enough (properly aligned) space for the specified |
|
Create an object of (template parameter) |
|
Return memory previously at the specified |
|
Call the |
|
Return the maximum number of elements of type |
|
|
Declare |
Specializations
Name |
Description |
This specialization of |
Non-Member Functions
Name |
Description |
Return |
|
Return |
Created with MrDocs