BloombergLP::bdlb::operator==

Return whether rhs is null.

Synopsis

Declared in <bdlb_nullablevalueref.h>

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

Description

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

Return Value

true if the specified rhs is null, and false otherwise

Parameters

NameDescription
lhsnullopt sentinel
rhsnullable reference to test