Iros
 
Loading...
Searching...
No Matches
di::container::detail::FindIfFunction Struct Reference

#include <di/container/algorithm/find_if.h>

Public Member Functions

template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< Iter, Proj > > Pred>
constexpr auto operator() (Iter first, Sent last, Pred pred, Proj projection={}) const -> Iter
 
template<concepts::InputContainer Con, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< meta::ContainerIterator< Con >, Proj > > Pred>
constexpr auto operator() (Con &&container, Pred pred, Proj proj={}) const -> meta::BorrowedIterator< Con >
 

Member Function Documentation

◆ operator()() [1/2]

template<concepts::InputContainer Con, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< meta::ContainerIterator< Con >, Proj > > Pred>
auto di::container::detail::FindIfFunction::operator() ( Con && container,
Pred pred,
Proj proj = {} ) const -> meta::BorrowedIterator<Con>
inlineconstexpr

◆ operator()() [2/2]

template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< Iter, Proj > > Pred>
auto di::container::detail::FindIfFunction::operator() ( Iter first,
Sent last,
Pred pred,
Proj projection = {} ) const -> Iter
inlineconstexpr

The documentation for this struct was generated from the following file: