MGIS 3.1.0
Loading...
Searching...
No Matches
EvaluatorModifierConcept.ixx File Reference

Implementation of the helpers associated with the EvaluatorModifierConcept concept. More...

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Functions

template<EvaluatorConcept EvaluatorType, EvaluatorModifierConcept EvaluatorModifierType>
constexpr auto mgis::function::operator| (const EvaluatorType &, EvaluatorModifierType)
 applies a modifier to an evaluator

Detailed Description

Implementation of the helpers associated with the EvaluatorModifierConcept concept.

Author
Thomas Helfer
Date
05/06/2025

Function Documentation

◆ operator|()

template<EvaluatorConcept EvaluatorType, EvaluatorModifierConcept EvaluatorModifierType>
auto mgis::function::operator| ( const EvaluatorType & e,
EvaluatorModifierType m )
constexpr

applies a modifier to an evaluator

implementation of the operator| which applies the modifier to the given evaluator, calling the call operator of the modifier

Template Parameters
EvaluatorTypeevaluator type
EvaluatorModifierTypetype of the modifier
Parameters
[in]eevaluator
[in]mmodifier
Returns
the evaluator resulting from applying the modifier to the evaluator