Implementation of the helpers associated with the EvaluatorModifierConcept concept.
More...
|
| namespace | mgis |
| | the namespace mgis encloses all the MGIS project.
|
|
| template<EvaluatorConcept EvaluatorType, EvaluatorModifierConcept EvaluatorModifierType> |
| constexpr auto | mgis::function::operator| (const EvaluatorType &, EvaluatorModifierType) |
| | applies a modifier to an evaluator
|
Implementation of the helpers associated with the EvaluatorModifierConcept concept.
- Author
- Thomas Helfer
- Date
- 05/06/2025
- Copyright
- (C) Copyright Thomas Helfer 2018. Use, modification and distribution are subject to one of the following licences:
- GNU Lesser General Public License (LGPL), Version 3.0. (See accompanying file LGPL-3.0.txt)
- CECILL-C, Version 1.0 (See accompanying files CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt).
◆ 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
-
| EvaluatorType | evaluator type |
| EvaluatorModifierType | type of the modifier |
- Parameters
-
| [in] | e | evaluator |
| [in] | m | modifier |
- Returns
- the evaluator resulting from applying the modifier to the evaluator