[#absl-c_includes-0e]
= xref:absl.adoc[absl]::c&lowbar;includes
:relfileprefix: ../
:mrdocs:

Overload of `c&lowbar;includes()` for performing a merge using a `comp` other than `operator&lt;`&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 LessThan&gt;
constexpr
bool
c&lowbar;includes(
    C1 const& c1,
    C2 const& c2,
    LessThan&& comp);
----

== Return Value

`true` if every element of `c2` is contained in `c1` under `comp`, otherwise `false`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c1*
| The first sorted container&period;
| *c2*
| The second sorted container&period;
| *comp*
| The comparison used to order the elements&period;
|===


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