Invoke accessor on the non-null value held by object.
Declared in <bdlat_nullablevaluefunctions.h>
template<
class TYPE,
class ACCESSOR>
int
bdlat_nullableValueAccessValue(
bdlb::NullableAllocatedValue<TYPE> const& object,
ACCESSOR& accessor);
Default customization-point implementation of accessValue for bdlb::NullableAllocatedValue.
result of invoking accessor on the held value
| Name | Description |
|---|---|
| object | nullable value whose contents are accessed |
| accessor | functor applied to the held value |