CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::BinaryPredicate< T, Predicate1, Predicate2 > Struct Template Reference

A predicate that operates using two other predicates as-if a binary operation. More...

#include <CeresEngine/Foundation/Predicate.hpp>

Inheritance diagram for CeresEngine::BinaryPredicate< T, Predicate1, Predicate2 >:
CeresEngine::Predicate< T >

Public Member Functions

constexpr BinaryPredicate (Predicate1 &&predicate1, Predicate2 &&predicate2) noexcept
 Creates a new BinaryPredicate.
 

Public Attributes

Predicate1 predicate1
 The left-hand side predicate.
 
Predicate2 predicate2
 The right-hand side predicate.
 

Detailed Description

template<typename T, typename Predicate1, typename Predicate2>
struct CeresEngine::BinaryPredicate< T, Predicate1, Predicate2 >

A predicate that operates using two other predicates as-if a binary operation.

Template Parameters
Tthe concrete predicate type
Predicate1the left-hand side predicate
Predicate2the right-hand side predicate

Constructor & Destructor Documentation

◆ BinaryPredicate()

constexpr CeresEngine::BinaryPredicate< T, Predicate1, Predicate2 >::BinaryPredicate ( Predicate1 &&  predicate1,
Predicate2 &&  predicate2 
)
inlineconstexprnoexcept

Creates a new BinaryPredicate.

Parameters
predicate1The left-hand side predicate
predicate2The right-hand side predicate

Member Data Documentation

◆ predicate1

The left-hand side predicate.

◆ predicate2

The right-hand side predicate.


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