Invoke the specified accessor on the non-null value held by the specified ref. Return the value from the invocation of accessor.
Declared in <bdlar_nullablevalueref.h>
Invoke the specified accessor on the non-null value held by the specified ref. Return the value from the invocation of accessor.
template<class t_ACCESSOR>
int
bdlat_nullableValueAccessValue(
NullableValueConstRef const& ref,
t_ACCESSOR& accessor);
» more...
Invoke the specified accessor on the non-null value held by the specified ref. Return the value from the invocation of accessor.
template<class t_ACCESSOR>
int
bdlat_nullableValueAccessValue(
NullableValueRef const& ref,
t_ACCESSOR& accessor);
» more...
value from the invocation of accessor
| Name | Description |
|---|---|
| ref | nullable-value reference to access |
| accessor | callable invoked on the non-null value |