This unconstrained (value-semantic) attribute class that is bitwise-moveable, uses a bslma::Allocator to supply memory, and defines the type traits bslma::UsesBslmaAllocator and bslmf::IsBitwiseMoveable. See the section for information on the class attributes.
Declared in <bsltf_allocbitwisemoveabletesttype.h>
class AllocBitwiseMoveableTestType;
| Name | Description |
|---|---|
AllocBitwiseMoveableTestType [constructor] | Constructors |
~AllocBitwiseMoveableTestType [destructor] | Destroy this object. |
operator= | Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object. |
allocator | Return the allocator used by this object to supply memory. |
data | Return the value of the data attribute of this object. |
setData | Set the data attribute of this object to the specified value. |
| Name | Description |
|---|---|
debugprint | Same as the preceding overload for this test type. |
operator!= | Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two AllocBitwiseMoveableTestType objects do not have the same value if their data attributes are not the same. |
operator== | Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two AllocBitwiseMoveableTestType objects have the same if their data attributes are the same. |