[#absl-operator_eq-0c1] = xref:absl.adoc[absl]::operator== :relfileprefix: ../ :mrdocs: Compares a span to a container for element‐wise equality. == Synopsis Declared in `<absl/types/span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename U, typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>> constexpr bool operator==( xref:absl/Span.adoc[Span<T>] a, U const& b); ---- == Return Value `true` if the operands have equal elements. == Parameters [cols="1,4"] |=== | Name| Description | *a* | The left operand. | *b* | The right operand. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#