Invoke the specified accessor on the non‐null value held by the specified ref. Return the value from the invocation of accessor.
Synopsis
Declared in <bdlar_nullablevalueref.h>
template<class t_ACCESSOR>
int
bdlat_nullableValueAccessValue(
NullableValueRef const& ref,
t_ACCESSOR& accessor);
Return Value
value from the invocation of accessor
Parameters
Name |
Description |
ref |
nullable‐value reference to access |
accessor |
callable invoked on the non‐null value |
Created with MrDocs