Namespaces
Variants

Template:cpp/algorithm/ranges/dsc adjacent find

From cppreference.com

|- class="t-dsc"

|

| finds the first two adjacent items that are equal (or satisfy a given predicate)
(algorithm function object) |-