This unconstrained (value‐semantic) attribute class that uses a bsl::allocator<> to supply memory and defines the type trait bslma::UsesBslmaAllocator. This class is primarily provided to facilitate testing of templates by defining a simple type representative of user‐defined types having an allocator. See the Attributes section under DESCRIPTION in the component‐level documentation for information on the class attributes.
Synopsis
Declared in <bsltf_alloctesttype.h>
class AllocTestType;
Type Aliases
Name |
Description |
Allocator type used by this test type. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assign to this object the value of the specified |
|
Return |
|
Return the value of the |
|
Return the allocator used by this object to supply memory. |
|
Set the |
Non-Member Functions
Name |
Description |
Print the value of the specified |
|
Return |
|
Return |
Created with MrDocs