0_0_37943823_32719.cpp: In instantiation of 'T __lcm(T, T) [with T = int]':
0_0_37943823_32719.cpp:213:35: required from here
0_0_37943823_32719.cpp:135:20: error: call of overloaded '__gcd(int&, int&)' is ambiguous
T num = __gcd(a, b);
^
0_0_37943823_32719.cpp:135:20: note: candidates are:
0_0_37943823_32719.cpp:129:3: note: T __gcd(T, T) [with T = int]
T __gcd(T a, T b) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_37943823_32719.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1229:5: note: _EuclideanRingElement std::__gcd(_EuclideanRingElement, _EuclideanRingElement) [with _EuclideanRingElement = int]
__gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
^
|