CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::FindIfNotAlgorithmFunctor Class Reference

Functor representing the overloads for the find_if_not function. More...

#include <CeresEngine/Foundation/Algorithm/FindIfNot.hpp>

Inheritance diagram for CeresEngine::FindIfNotAlgorithmFunctor:
CeresEngine::UnaryAlgorithmFunctor< FindIfNotAlgorithmFunctor >

Static Private Member Functions

template<class I , class S , class Fun >
requires ( // clang-format off traits::is_input_iterator_v<I> && traits::is_sentinel_for_v<S, I> && traits::is_indirectly_unary_invocable_v<Fun, I> && std::is_copy_constructible_v<Fun> // clang-format on )
static constexpr I run (I first, S last, Fun p)
 Complete overload of the find_if_not algorithm.
 
template<class E , class P , class I , class S , class Fun >
requires ( // clang-format off traits::is_executor_v<E> && traits::is_partitioner_v<P, I, S> && traits::is_input_iterator_v<I> && traits::is_sentinel_for_v<S, I> && traits::is_indirectly_unary_invocable_v<Fun, I> && std::is_copy_constructible_v<Fun> // clang-format on )
static Async< Irun (const E &executor, P p, I first, S last, Fun f)
 Complete overload of the find_if_not algorithm.
 

Private Attributes

friend UnaryAlgorithmFunctor< FindIfNotAlgorithmFunctor >
 

Additional Inherited Members

- Public Member Functions inherited from CeresEngine::UnaryAlgorithmFunctor< FindIfNotAlgorithmFunctor >
constexpr decltype(auto) operator() (const E &executor, P p, I first, S last, Fun f) const
 
constexpr decltype(auto) operator() (const E &executor, P p, R &&r, Fun f) const
 Overload for Ranges.
 
constexpr decltype(auto) operator() (P p, I first, S last, Fun f) const
 Overload for Iterators / default parallel executor.
 
constexpr decltype(auto) operator() (P p, R &&r, Fun f) const
 Overload for Ranges / default parallel executor.
 
constexpr decltype(auto) operator() (const E &executor, I first, S last, Fun f) const
 Overload for Iterators / default partitioner.
 
constexpr decltype(auto) operator() (const E &executor, R &&r, Fun f) const
 Overload for Ranges / default partitioner.
 
constexpr decltype(auto) operator() (I first, S last, Fun f) const
 Overload for Iterators / default executor / default partitioner.
 
constexpr decltype(auto) operator() (R &&r, Fun f) const
 Overload for Ranges / default executor / default partitioner.
 

Detailed Description

Functor representing the overloads for the find_if_not function.

Member Function Documentation

◆ run() [1/2]

template<class E , class P , class I , class S , class Fun >
requires ( // clang-format off traits::is_executor_v<E> && traits::is_partitioner_v<P, I, S> && traits::is_input_iterator_v<I> && traits::is_sentinel_for_v<S, I> && traits::is_indirectly_unary_invocable_v<Fun, I> && std::is_copy_constructible_v<Fun> // clang-format on )
static Async< I > CeresEngine::FindIfNotAlgorithmFunctor::run ( const E executor,
P  p,
I  first,
S  last,
Fun  f 
)
inlinestaticprivate

Complete overload of the find_if_not algorithm.

Template Parameters
EExecutor type
PPartitioner type
IIterator type
SSentinel iterator type
FunFunction type
Parameters
exExecutor
pPartitioner
firstIterator to first element in the range
lastIterator to (last + 1)-th element in the range
fFunction function template find_if_not

◆ run() [2/2]

template<class I , class S , class Fun >
requires ( // clang-format off traits::is_input_iterator_v<I> && traits::is_sentinel_for_v<S, I> && traits::is_indirectly_unary_invocable_v<Fun, I> && std::is_copy_constructible_v<Fun> // clang-format on )
static constexpr I CeresEngine::FindIfNotAlgorithmFunctor::run ( I  first,
S  last,
Fun  p 
)
inlinestaticconstexprprivate

Complete overload of the find_if_not algorithm.

Template Parameters
IIterator type
SSentinel iterator type
FunFunction type
Parameters
firstIterator to first element in the range
lastIterator to (last + 1)-th element in the range
fFunction function template find_if_not

Member Data Documentation

◆ UnaryAlgorithmFunctor< FindIfNotAlgorithmFunctor >

friend CeresEngine::FindIfNotAlgorithmFunctor::UnaryAlgorithmFunctor< FindIfNotAlgorithmFunctor >
private

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