BloombergLP::bdlb::operator<=

Return whether lhs is null.

Synopsis

Declared in <bdlb_nullablevalueref.h>

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

Description

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

Return Value

true if the specified lhs is null, and false otherwise

Parameters

NameDescription
lhsnullable reference to test
rhsnullopt sentinel