[#bsl-operator_not_eq-0e] = xref:bsl.adoc[bsl]::operator!= :relfileprefix: ../ :mrdocs: Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. An `optional` object and a value of some type do not have the same value if either the optional object is disengaged, or its underlying value does not compare equal to the other value. These function can be called in constant expressions only if the `optional`'s value type is not allocator‐aware. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_LHS_TYPE, class t_RHS_TYPE> constexpr bool operator!=( xref:bsl/optional-072.adoc[bsl::optional<t_LHS_TYPE>] const& lhs, t_RHS_TYPE const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#