This unconstrained (value‐semantic) attribute class defines the bsl::is_trivially_copyable trait and does not allocate memory. See the section for information on the class attributes.

Synopsis

Declared in <bsltf_bitwisecopyabletesttype.h>

class BitwiseCopyableTestType;

Member Functions

Name

Description

BitwiseCopyableTestType [constructor]

Constructors

data

Return the value of the data attribute of this object.

setData

Set the data attribute of this object to the specified value.

operator BloombergLP::bslmf::NestedTraitDeclaration<BitwiseCopyableTestType, IsBitwiseCopyable>

Declare BitwiseCopyableTestType as bitwise copyable.

Non-Member Functions

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 BitwiseCopyableTestType 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 BitwiseCopyableTestType objects have the same if their data attributes are the same.

Created with MrDocs