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

#include <di/container/algorithm/find_last_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 proj={}) const -> View< 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::BorrowedView< 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::FindLastIfFunction::operator() ( Con && container,
Pred pred,
Proj proj = {} ) const -> meta::BorrowedView<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::FindLastIfFunction::operator() ( Iter first,
Sent last,
Pred pred,
Proj proj = {} ) const -> View<Iter>
inlineconstexpr

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