Value-semantic test type that asserts on non-typical operator overloads.
Declared in <bsltf_nontypicaloverloadstesttype.h>
class 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.
| Name | Description |
|---|---|
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. |
| Name | Description |
|---|---|
operator delete | Delete operators |
operator new | New operators |
| 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. |