absl::c_equal

Container-based version of the <algorithm> std::equal() function to test whether two containers are equal.

Synopsis

Declared in <absl/algorithm/container.h>

template<
    typename C1,
    typename C2>
constexpr
bool
c_equal(
    C1 const& c1,
    C2 const& c2);

Return Value

true if the two containers hold equal elements, otherwise false.

Parameters

NameDescription
c1The first container.
c2The second container.