piranha
0.10
|
Specialisation of the piranha::math::gcd3() functor for integral types. More...
#include <piranha/math.hpp>
Public Member Functions | |
T & | operator() (T &out, const T &a, const T &b) const |
Call operator. More... | |
Specialisation of the piranha::math::gcd3() functor for integral types.
This specialisation is enabled when T
is a C++ integral type.
|
inline |
Call operator.
This call operator will forcibly cast back to T
the result of piranha::math::gcd().
out | the output value. |
a | the first operand. |
b | the second operand. |
out = static_cast<T>(math::gcd(a,b))
.