Return whether lhs is not 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 not null, and false otherwise.

Return Value

true if the specified lhs is not null, and false otherwise

Parameters

Name

Description

lhs

nullable reference to test

rhs

nullopt sentinel

Created with MrDocs