Return true if the specified rhs is not null, and false otherwise. Note that bsl::nullopt is ordered before any NullableAllocatedValue that is not null.

Synopsis

Declared in <bdlb_nullableallocatedvalue.h>

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

Return Value

true if rhs is not null, and false otherwise

Parameters

Name

Description

nullopt

disengaged‐optional tag; value is unused

rhs

nullable value to test

Created with MrDocs