This unconstrained (value‐semantic) attribute class that uses a bslma::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_moveonlyalloctesttype.h>
class MoveOnlyAllocTestType;
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assign to this object the value of the specified |
|
Return the allocator used by this object to supply memory. |
|
Return the value of the |
|
Return the move state of this object as source of a move operation. |
|
Return the move state of this object as target of a move operation. |
|
Set the |
|
Set the moved‐into state of this object to the specified |
Non-Member Functions
Name |
Description |
Same as the preceding overload for this test type. |
|
Return the move‐from state of the specified |
|
Return the move‐into state of the specified |
|
Return |
|
Return |
|
Set the moved‐into state of the specified |
|
Exchange the states of the specified |
Created with MrDocs