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