Return whether the specified nullable value is null.

Synopsis

Declared in <bdlb_nullableallocatedvalue.h>

template<class TYPE>
bool
operator==(
    NullableAllocatedValue<TYPE> const& lhs,
    bsl::nullopt_t const& nullopt) noexcept;

Description

Return true if the specified lhs is null, and false otherwise.

Return Value

true if lhs is null, and false otherwise

Parameters

Name

Description

lhs

nullable value to test

nullopt

disengaged‐optional tag; value is unused

Created with MrDocs