piranha
0.10
|
Specialisation of the piranha::math::mul3() functor for integral types. More...
#include <piranha/math.hpp>
Public Member Functions | |
T & | operator() (T &a, const T &b, const T &c) const |
Call operator. More... | |
Specialisation of the piranha::math::mul3() functor for integral types.
This specialisation is activated when T
is an integral type.
|
inline |
Call operator.
This operator will return the expression a = static_cast<T>(b * c)
, with b * c
forcibly cast back to T
in order to avoid compiler warnings with short integral types.
a | the return value. |
b | the first operand. |
c | the second operand. |
a = static_cast<T>(b * c)
.