BloombergLP::bsltf::UnionTestType

This union provides a union test type to facilitate testing of templates.

Synopsis

Declared in <bsltf_uniontesttype.h>

union UnionTestType;

Member Functions

NameDescription
UnionTestType [constructor]Constructors
~UnionTestType [destructor]Destroy this object.
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

NameDescription
debugprintSame 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 UnionTestType objects do not have the same value if their data attributes are not the same.
operator==Return true if the specified lhs and rhs unions have the same value, and false otherwise. Two UnionTestType objects have the same if their data attributes are the same.