Return whether rhs is not null.
Declared in <bdlb_nullablevalueref.h>
template<class TYPE>
bool
operator<(
bsl::nullopt_t const& lhs,
NullableValueRef<TYPE> const& rhs) noexcept;
Return true if the specified rhs is not null, and false otherwise. Note that bsl::nullopt is ordered before any NullableValueRef that is not null.
true if the specified rhs is not null, and false otherwise
| Name | Description |
|---|---|
| lhs | nullopt sentinel |
| rhs | nullable reference to test |