Minimal C++03‐compliant allocator that delegates to a global allocator.
Synopsis
Declared in <bsltf_stdtestallocator.h>
template<class TYPE>
class StdTestAllocator;
Description
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).
Types
Name |
Description |
Provide a namespace for a rebound |
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 space for the specified |
|
Construct an |
|
Return memory previously allocated at the specified |
|
Call the |
|
Return the maximum number of |
|
|
Declare |
Specializations
Name |
Description |
This specialization of |
Non-Member Functions
Name |
Description |
Return |
|
Return |
Created with MrDocs