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

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

Public Member Functions

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

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

template<concepts::InputIterator It, concepts::SentinelFor< It > Sent, concepts::WeaklyIncrementable Out, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< It, Proj > > Pred>
requires (concepts::IndirectlyCopyable<It, Out>)
auto di::container::detail::CopyIfFunction::operator() ( It first,
Sent last,
Out output,
Pred pred,
Proj proj = {} ) const -> InOutResult<It, Out>
inlineconstexpr

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