[#BloombergLP-bsltf-NonTypicalOverloadsTestType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::NonTypicalOverloadsTestType :relfileprefix: ../../ :mrdocs: Value‐semantic test type that asserts on non‐typical operator overloads. == Synopsis Declared in `<bsltf_nontypicaloverloadstesttype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class NonTypicalOverloadsTestType; ---- == Description 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. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/2constructor-096.adoc[`NonTypicalOverloadsTestType`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/2destructor.adoc[`~NonTypicalOverloadsTestType`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/operator_assign.adoc[`operator=`] | Assign to this object the value of the specified `rhs` object, and return a reference providing modifiable access to this object. | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/data.adoc[`data`] | Return the value of the `data` attribute of this object. | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/setData.adoc[`setData`] | Set the `data` attribute of this object to the specified `value`. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/operator_del-02.adoc[`operator delete`] | Delete operators | xref:BloombergLP/bsltf/NonTypicalOverloadsTestType/operator_new-0f.adoc[`operator new`] | New operators |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/debugprint-036.adoc[`debugprint`] | Same as the preceding overload for this test type. | xref:BloombergLP/bsltf/operator_not_eq-004.adoc[`operator!=`] | Return whether two objects do not have the same value. | xref:BloombergLP/bsltf/operator_eq-09a.adoc[`operator==`] | Return whether two objects have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#