#include <di/container/algorithm/partition_copy.h>
|
template<concepts::InputIterator It, concepts::SentinelFor< It > Sent, concepts::WeaklyIncrementable OutTrue, concepts::WeaklyIncrementable OutFalse, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< It, Proj > > Pred>
requires (concepts::IndirectlyCopyable<It, OutTrue> && concepts::IndirectlyCopyable<It, OutFalse>) |
constexpr auto | operator() (It first, Sent last, OutTrue out_true, OutFalse out_false, Pred pred, Proj proj={}) const -> InOutOutResult< It, OutTrue, OutFalse > |
|
template<concepts::InputContainer Con, concepts::WeaklyIncrementable OutTrue, concepts::WeaklyIncrementable OutFalse, typename Proj = function::Identity, concepts::IndirectUnaryPredicate< meta::Projected< meta::ContainerIterator< Con >, Proj > > Pred>
requires (concepts::IndirectlyCopyable<meta::ContainerIterator<Con>, OutTrue> && concepts::IndirectlyCopyable<meta::ContainerIterator<Con>, OutFalse>) |
constexpr auto | operator() (Con &&container, OutTrue out_true, OutFalse out_false, Pred pred, Proj proj={}) const -> InOutOutResult< meta::BorrowedIterator< Con >, OutTrue, OutFalse > |
|
◆ operator()() [1/2]
auto di::container::detail::PartitionCopyFunction::operator() |
( |
Con && | container, |
|
|
OutTrue | out_true, |
|
|
OutFalse | out_false, |
|
|
Pred | pred, |
|
|
Proj | proj = {} ) const -> InOutOutResult<meta::BorrowedIterator<Con>, OutTrue, OutFalse> |
|
inlineconstexpr |
◆ operator()() [2/2]
template<concepts::InputIterator It, concepts::SentinelFor< It > Sent, concepts::WeaklyIncrementable OutTrue, concepts::WeaklyIncrementable OutFalse, typename Proj = function::Identity, concepts::IndirectUnaryPredicate<
meta::Projected< It, Proj > > Pred>
requires (concepts::IndirectlyCopyable<It, OutTrue> && concepts::IndirectlyCopyable<It, OutFalse>)
auto di::container::detail::PartitionCopyFunction::operator() |
( |
It | first, |
|
|
Sent | last, |
|
|
OutTrue | out_true, |
|
|
OutFalse | out_false, |
|
|
Pred | pred, |
|
|
Proj | proj = {} ) const -> InOutOutResult<It, OutTrue, OutFalse> |
|
inlineconstexpr |
The documentation for this struct was generated from the following file: