11 struct AdjacentFindFunction {
12 template<concepts::ForwardIterator Iter, concepts::SentinelFor<Iter> Sent,
typename Proj = function::Identity,
13 concepts::IndirectBinaryPredicate<meta::Projected<Iter, Proj>> Pred = function::Equal>
14 constexpr auto operator()(Iter fast, Sent last, Pred pred = {}, Proj
proj = {})
const -> Iter {
19 for (; fast !=
last; ++fast, ++slow) {
27 template<concepts::ForwardContainer Con,
typename Proj = function::Identity,
28 concepts::IndirectBinaryPredicate<meta::Projected<meta::ContainerIterator<Con>, Proj>> Pred =
30 constexpr auto operator()(Con&& container, Pred pred = {}, Proj
proj = {})
const
constexpr auto last(concepts::detail::ConstantVector auto &vector, size_t count)
Definition vector_last.h:13
constexpr auto adjacent_find
Definition adjacent_find.h:37
constexpr auto end
Definition end.h:55
constexpr auto begin
Definition begin.h:52
constexpr auto invoke
Definition invoke.h:100
constexpr auto ref
Definition reference_wrapper.h:98
Definition any_storable.h:9
constexpr auto proj
Definition proj.h:59