BloombergLP::bdlb::operator==

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

NameDescription
lhsnullable value to test
nulloptdisengaged-optional tag; value is unused