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

Name

Description

nullable

nullable value object to wrap

Created with MrDocs