Invoke the specified accessor on the non‐modifiable value stored in the specified "nullable" object. The supplied accessor must be a callable type that can be called as if it had the following signature: ` int accessor(const VALUE_TYPE& value); ` Return the value from the invocation of accessor. The behavior is undefined unless object does not contain a null value.

Synopsis

Declared in <bdlat_nullablevaluefunctions.h>

template<
    class TYPE,
    class ACCESSOR>
int
accessValue(
    TYPE const& object,
    ACCESSOR& accessor);

Created with MrDocs