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

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

Public Member Functions

template<concepts::InputIterator It, concepts::SentinelFor< It > Sent, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< It, Proj > > Pred>
requires (concepts::Permutable<It>)
constexpr auto operator() (It first, Sent last, Pred pred, Proj proj={}) const -> View< It >
 
template<concepts::InputContainer Con, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< meta::ContainerIterator< Con >, Proj > > Pred>
requires (concepts::Permutable<meta::ContainerIterator<Con>>)
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>
requires (concepts::Permutable<meta::ContainerIterator<Con>>)
auto di::container::detail::StablePartitionFunction::operator() ( Con && container,
Pred pred,
Proj proj = {} ) const -> meta::BorrowedView<Con>
inlineconstexpr

◆ operator()() [2/2]

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

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