BloombergLP::bdlar::DynamicTypeVtable

Vtable for mutable dynamic type access.

Synopsis

Declared in <bdlar_dynamictypevtable.h>

struct DynamicTypeVtable;

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 "dynamic" type category.

Type Aliases

NameDescription
Reset Function pointer type resetting a dynamic type to its default value.
ValueRef Function pointer type returning a reference to the underlying value.

Data Members

NameDescription
d_const read-only vtable
d_reset_fp reset function
d_valueRef_fp value reference accessor