CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::NotPredicate< TPredicate > Struct Template Reference

#include <CeresEngine/Foundation/Predicate.hpp>

Inheritance diagram for CeresEngine::NotPredicate< TPredicate >:
CeresEngine::UnaryPredicate< NotPredicate< TPredicate >, TPredicate > CeresEngine::Predicate< T >

Public Member Functions

template<typename... Input>
constexpr bool operator() (Input &&... input) const noexcept(noexcept(NotPredicate::predicate(std::forward< Input >(input)...)))
 Executes the predicate.
 
- Public Member Functions inherited from CeresEngine::UnaryPredicate< NotPredicate< TPredicate >, TPredicate >
constexpr UnaryPredicate (TPredicate &&predicate) noexcept
 Creates a new UnaryPredicate.
 

Additional Inherited Members

- Public Attributes inherited from CeresEngine::UnaryPredicate< NotPredicate< TPredicate >, TPredicate >
TPredicate predicate
 The operand predicate.
 

Member Function Documentation

◆ operator()()

template<typename TPredicate >
template<typename... Input>
constexpr bool CeresEngine::NotPredicate< TPredicate >::operator() ( Input &&...  input) const
inlineconstexprnoexcept

Executes the predicate.

Template Parameters
Inputthe predicate input types
Parameters
inputThe predicate inputs
Returns
The predicate evaluation result

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