Compares a container to a span for element-wise equality.
Declared in <absl/types/span.h>
template<
typename T,
typename U,
typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>>
constexpr
bool
operator==(
U const& a,
Span<T> b);
true if the operands have equal elements.
| Name | Description |
|---|---|
| a | The left operand. |
| b | The right operand. |