absl::operator==

Compares two const spans for element-wise equality.

Synopsis

Declared in <absl/types/any_span.h>

bool
operator==(
    AnySpan<T const> a,
    AnySpan<T const> b);

Return Value

true if the spans have equal elements.

Parameters

NameDescription
aThe left operand.
bThe right operand.