This unconstrained (value‐semantic) attribute class does not provide a default constructor.

Synopsis

Declared in <bsltf_nondefaultconstructibletesttype.h>

class NonDefaultConstructibleTestType;

Member Functions

Name

Description

NonDefaultConstructibleTestType [constructor]

Create a NonDefaultConstructibleTestType object having the specified data attribute value.

~NonDefaultConstructibleTestType [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

Name

Description

debugprint

Same 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 NonDefaultConstructibleTestType objects do not have the same value if data attributes are not the same.

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.

Created with MrDocs