[#absl-c_adjacent_find-04] = xref:absl.adoc[absl]::c_adjacent_find :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::adjacent_find()` function to find equal adjacent elements within a container. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Sequence> constexpr /* implementation-defined */ c_adjacent_find(Sequence& sequence); ---- == Return Value An iterator to the first of the first pair of equal adjacent elements, or the end iterator if none is found. == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to search. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#