BloombergLP::bdlar::NullableValueVtable

Vtable for mutable nullable-value access.

Synopsis

Declared in <bdlar_nullablevaluevtable.h>

struct NullableValueVtable;

Description

This struct stores a series of function pointers to wrappers that invoke the underlying methods of the supplied type erased object that implement the "nullable value" type category.

Type Aliases

NameDescription
MakeValue Function pointer type assigning the default value for the contained type to a nullable value.
ManipulateValue Function pointer type manipulating the non-null value of a nullable value.
Reset Function pointer type resetting a nullable value to its default value.

Data Members

NameDescription
d_const read-only vtable
d_makeValue_fp make non-null value
d_manipulateValue_fp non-null value manipulator
d_reset_fp reset function