BloombergLP::bsltf::BitwiseCopyableTestType

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

NameDescription
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

NameDescription
debugprintSame 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.