[#absl-c_includes-07] = xref:absl.adoc[absl]::c_includes :relfileprefix: ../ :mrdocs: `c_includes` overloads == Synopses Declared in `<absl/algorithm/container.h>` Container‐based version of the <algorithm> `std::includes()` function to test whether a sorted container `c1` entirely contains another sorted container `c2`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C1, typename C2> constexpr bool xref:absl/c_includes-08.adoc[c_includes]( C1 const& c1, C2 const& c2); ---- [.small]#xref:absl/c_includes-08.adoc[_» more..._]# Overload of `c_includes()` for performing a merge using a `comp` other than `operator<`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C1, typename C2, typename LessThan> constexpr bool xref:absl/c_includes-0e.adoc[c_includes]( C1 const& c1, C2 const& c2, LessThan&& comp); ---- [.small]#xref:absl/c_includes-0e.adoc[_» more..._]# == Return Value * `true` if every element of `c2` is contained in `c1`, otherwise `false`. * `true` if every element of `c2` is contained in `c1` under `comp`, otherwise `false`. == Parameters [cols="1,4"] |=== | Name| Description | *c1* | The first sorted container. | *c2* | The second sorted container. | *comp* | The comparison used to order the elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#