|
piranha
0.10
|
Default functor for the implementation of piranha::math::gcd3(). More...
#include <piranha/math.hpp>
Public Member Functions | |
| template<typename T1 > | |
| auto | operator() (T1 &out, const T1 &a, const T1 &b) const -> decltype(out=math::gcd(a, b)) |
| Call operator. More... | |
Default functor for the implementation of piranha::math::gcd3().
This functor should be specialised via the std::enable_if mechanism.
|
inline |
Call operator.
out = math::gcd(a,b) is well-formed.| out | the output value. |
| a | the first operand. |
| b | the second operand. |
out = math::gcd(a,b).| unspecified | any exception thrown by piranha::math::gcd() or the invoked assignment operator. |
1.8.14