|
CeresEngine 0.2.0
A game development framework
|
A predicate implementation that performs a logical AND between other predicates. More...
#include <CeresEngine/Foundation/Predicate.hpp>
Public Member Functions | |
| constexpr | AndPredicate (Predicate1 &&predicate1, Predicate2 &&predicate2, Predicates &&... predicates) noexcept |
Creates a new AndPredicate. | |
| template<typename... Input> | |
| constexpr bool | operator() (Input &&... input) const |
| Executes the predicate. | |
Public Attributes | |
| Tuple< Predicate1, Predicate2, Predicates... > | predicates |
| A tuple containing the predicates to apply the logical AND on. | |
Private Member Functions | |
| template<size_t N, typename... Input> | |
| constexpr bool | impl (Input &... input) const |
A predicate implementation that performs a logical AND between other predicates.
| Predicate1 | the first predicate |
| Predicate2 | the second predicate |
| Predicates | the remaining predicates |
|
inlineconstexprnoexcept |
Creates a new AndPredicate.
| predicate1 | The left-hand side predicate |
| predicate2 | The right-hand side predicate |
| predicates | The remaining predicates |
|
inlineconstexprprivate |
|
inlineconstexpr |
Executes the predicate.
| Input | the predicate input types |
| input | The predicate inputs |
| Tuple<Predicate1, Predicate2, Predicates...> CeresEngine::AndPredicate< Predicate1, Predicate2, Predicates >::predicates |
A tuple containing the predicates to apply the logical AND on.