Return true if the specified nullable objects do not have the same value.

Synopsis

Declared in <bdlb_nullablevalue.h>

template<
    class LHS_TYPE,
    class RHS_TYPE>
bool
operator!=(
    std::optional<LHS_TYPE> const& lhs,
    NullableValue<RHS_TYPE> const& rhs)
requires requires {
        { *lhs != *rhs } ‐> NullableValue_ConvertibleToBool;
    };

Return Value

true if the specified nullable objects do not have the same value

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs