Allocating, bitwise‐moveable unconstrained value‐semantic test type.

Synopsis

Declared in <bsltf_allocbitwisemoveabletesttype.h>

class AllocBitwiseMoveableTestType;

Description

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.

Member Functions

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.

Non-Member Functions

Name

Description

debugprint

Same as the preceding overload for this test type.

operator!=

Return whether two objects do not have the same value.

operator==

Return whether two objects have the same value.

Created with MrDocs