This class provides a type to represent a pointer to an object of some user-defined type and an integer value denoting what actual type is represented.
Declared in <bdld_datumudt.h>
class DatumUdt;
| Name | Description |
|---|---|
DatumUdt [constructor] | Create a DatumUdt object having the specified data and type. |
data | Return the pointer to the user-defined object. |
print | Write the value of this object to the specified output stream in a human-readable format, and return a reference to the modifyable stream. |
type | Return the type of the user-defined object. |
operator BloombergLP::bslmf::NestedTraitDeclaration<DatumUdt, HasPrintMethod> | DatumUdt is trivially copyable. |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and rhs have different values, and false otherwise. |
operator< | Return true if value of the specified lhs is less than value of the specified rhs and false otherwise. |
operator<= | Return true if value of the specified lhs is less than or equal to value of the specified rhs and false otherwise. |
operator== | Return true if the specified lhs and rhs have the same value, and false otherwise. |
operator> | Return true if value of the specified lhs is greater than value of the specified rhs and false otherwise. |
operator>= | Return true if value of the specified lhs is greater than or equal to value of the specified rhs and false otherwise. |