Bitwise‐copyable unconstrained value‐semantic test type.

Synopsis

Declared in <bsltf_bitwisecopyabletesttype.h>

class BitwiseCopyableTestType;

Description

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.

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 whether two objects do not have the same value.

operator==

Return whether two objects have the same value.

Created with MrDocs