0_0_30554264_18689.cpp: In function 'int main()':
0_0_30554264_18689.cpp:10:17: error: reference to 'function' is ambiguous
answer = function(n);
^
0_0_30554264_18689.cpp:3:5: note: candidates are: int function(long long int)
int function(long long int n){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70:0,
from 0_0_30554264_18689.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:1834:11: note: template<class _Signature> class std::function
class function;
^
|