Container-based version of the <algorithm> std::adjacent_find() function to find equal adjacent elements within a container.
Declared in <absl/algorithm/container.h>
template<typename Sequence>
constexpr
/* implementation-defined */
c_adjacent_find(Sequence& sequence);
An iterator to the first of the first pair of equal adjacent elements, or the end iterator if none is found.
| Name | Description |
|---|---|
| sequence | The container to search. |