[#BloombergLP-bsltf-NonDefaultConstructibleTestType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::NonDefaultConstructibleTestType :relfileprefix: ../../ :mrdocs: This unconstrained (value‐semantic) attribute class does not provide a default constructor. == Synopsis Declared in `<bsltf_nondefaultconstructibletesttype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class NonDefaultConstructibleTestType; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/NonDefaultConstructibleTestType/2constructor.adoc[`NonDefaultConstructibleTestType`] [.small]#[constructor]# | Create a `NonDefaultConstructibleTestType` object having the specified `data` attribute value. | xref:BloombergLP/bsltf/NonDefaultConstructibleTestType/2destructor.adoc[`~NonDefaultConstructibleTestType`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bsltf/NonDefaultConstructibleTestType/data.adoc[`data`] | Return the value of the `data` attribute of this object. | xref:BloombergLP/bsltf/NonDefaultConstructibleTestType/setData.adoc[`setData`] | Set the `data` attribute of this object to the specified `value`. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/debugprint-0a.adoc[`debugprint`] | Same as the preceding overload for this test type. | xref:BloombergLP/bsltf/operator_not_eq-0b1.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `NonDefaultConstructibleTestType` objects do not have the same value if `data` attributes are not the same. | xref:BloombergLP/bsltf/operator_eq-0a9.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `NonDefaultConstructibleTestType` objects have the same if their `data` attributes are the same. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#