Return true if the specified lhs and rhs objects do not have the same value, and false otherwise.

Synopsis

Declared in <bdlb_nullablevalue.h>

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

Return Value

true if the specified lhs and rhs objects do not have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs