BloombergLP::bsltf::NonTypicalOverloadsTestType

This unconstrained (value-semantic) attribute class ensures that the operator new member and operator delete member never gets called by overloading and asserting in them. See the Attributes section under DESCRIPTION in the component-level documentation for information on the class attributes.

Synopsis

Declared in <bsltf_nontypicaloverloadstesttype.h>

class NonTypicalOverloadsTestType;

Member Functions

NameDescription
NonTypicalOverloadsTestType [constructor]Constructors
~NonTypicalOverloadsTestType [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.
data Return the value of the data attribute of this object.
setData Set the data attribute of this object to the specified value.

Static Member Functions

NameDescription
operator delete Delete operators
operator new New operators

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