[#absl-operator_not_eq-0626]
= xref:absl.adoc[absl]::operator!&equals;
:relfileprefix: ../
:mrdocs:

Tests whether a value differs from an `optional&lowbar;ref`&period;

== Synopsis

Declared in `&lt;absl&sol;types&sol;optional&lowbar;ref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    typename U,
    typename = &sol;&ast; implementation-defined &ast;&sol;&gt;
constexpr
bool
operator!&equals;(
    T const& a,
    xref:absl/optional_ref-0c.adoc[optional&lowbar;ref&lt;U&gt;] b);
----

== Return Value

`true` if `b` does not hold a value equal to `a`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The value to compare&period;
| *b*
| The reference to compare against&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
