BloombergLP::bdlar::AnyCastUtil::toNullableValueRef

Cast the specified any to NullableValueRef.

Synopsis

Declared in <bdlar_anycastutil.h>

static
NullableValueRef
toNullableValueRef(AnyRef const& any);

Description

The behaviour is undefined unless any.typeCategory()==bdlat_TypeCategory::e_NULLABLE_VALUE_CATEGORY.

Return Value

a NullableValueRef for the object referred to by any

Parameters

NameDescription
anyany reference to cast