0_0_14079552_18891.cpp: In function 'void get_next()':
0_0_14079552_18891.cpp:15:2: error: reference to 'move' is ambiguous
move[0]=-1;
^
0_0_14079552_18891.cpp:10:5: note: candidates are: int move [10010]
int move[10010];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
0_0_14079552_18891.cpp:22:4: error: reference to 'move' is ambiguous
move[i]=j;
^
0_0_14079552_18891.cpp:10:5: note: candidates are: int move [10010]
int move[10010];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
0_0_14079552_18891.cpp:25:6: error: reference to 'move' is ambiguous
j=move[j];
^
0_0_14079552_18891.cpp:10:5: note: candidates are: int move [10010]
int move[10010];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
0_0_14079552_18891.cpp: In function 'int kmp()':
0_0_14079552_18891.cpp:41:6: error: reference to 'move' is ambiguous
j=move[j];
^
0_0_14079552_18891.cpp:10:5: note: candidates are: int move [10010]
int move[10010];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_14079552_18891.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
|