Return whether the operands do not have the same value.
Synopsis
Declared in <bdlb_nullableallocatedvalue.h>
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator!=(
NullableAllocatedValue<LHS_TYPE> const& lhs,
bsl::optional<RHS_TYPE> const& rhs);
Description
If neither of the specified lhs and rhs contain a value, return false. If one contains a value, and the other does not, return true. Otherwise, return lhs.value != rhs.value().
Return Value
true if the operands do not have the same value, and false otherwise
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs