[#absl-c_equal-0d]
= xref:absl.adoc[absl]::c&lowbar;equal
:relfileprefix: ../
:mrdocs:

Overload of `c&lowbar;equal()` for using a predicate evaluation other than `&equals;&equals;` as the function&apos;s test condition&period;

== Synopsis

Declared in `&lt;absl&sol;algorithm&sol;container&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename C1,
    typename C2,
    typename BinaryPredicate&gt;
constexpr
bool
c&lowbar;equal(
    C1 const& c1,
    C2 const& c2,
    BinaryPredicate&& pred);
----

== Return Value

`true` if the two containers compare equal under `pred`, otherwise `false`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c1*
| The first container&period;
| *c2*
| The second container&period;
| *pred*
| The binary predicate used to compare elements&period;
|===


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