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

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

Public Member Functions

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

Member Function Documentation

◆ operator()() [1/2]

template<concepts::InputContainer Con, typename Proj = function::Identity, concepts::IndirectlyUnaryInvocable< meta::Projected< meta::ContainerIterator< Con >, Proj > > F>
auto di::container::detail::ForEachFunction::operator() ( Con && container,
F f,
Proj proj = {} ) const -> InFunResult<meta::BorrowedIterator<Con>, F>
inlineconstexpr

◆ operator()() [2/2]

template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, typename Proj = function::Identity, concepts::IndirectlyUnaryInvocable< meta::Projected< Iter, Proj > > F>
auto di::container::detail::ForEachFunction::operator() ( Iter first,
Sent last,
F f,
Proj proj = {} ) const -> InFunResult<Iter, F>
inlineconstexpr

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