|
MGIS 3.1.0
|
helper base class giving the number of components of the values returned by a binary operation applied to two evaluators More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/BinaryOperation.hxx>
Static Public Member Functions | |
| static MGIS_HOST_DEVICE constexpr size_type | getNumberOfComponents () MGIS_NOEXCEPT |
| return the number of components | |
helper base class giving the number of components of the values returned by a binary operation applied to two evaluators
The number of components is the compile-time size of the type returned by the callable when it is called with the values returned by the two evaluators. A static assertion is raised when this number is only known at run time, as evaluators are required to know it at compile time.
| CallableType | type of the binary operation |
| FirstEvaluatorType | type of the evaluator used to compute the first argument of the operation |
| SecondEvaluatorType | type of the evaluator used to compute the second argument of the operation |
|
inlinestaticnodiscardconstexpr |
return the number of components