BloombergLP::bdlar::NullableValueConstRef::NullableValueConstRef

Create a const reference that type-erases nullable.

Synopsis

Declared in <bdlar_nullablevalueref.h>

template<class t_NULLABLE>
explicit
NullableValueConstRef(t_NULLABLE const& nullable)
requires IsNullable<t_NULLABLE>::value;

Description

Create NullableValueConstRef object that type erases the supplied nullable object.

Parameters

NameDescription
nullablenullable value object to wrap