0_0_18018247_15719.cpp: In function 'void bfs()':
0_0_18018247_15719.cpp:53:2: error: reference to 'end' is ambiguous
end.step = INF;
^
0_0_18018247_15719.cpp:45:11: note: candidates are: NODE end
NODE beg, end;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
0_0_18018247_15719.cpp:73:5: error: reference to 'end' is ambiguous
end = nn;
^
0_0_18018247_15719.cpp:45:11: note: candidates are: NODE end
NODE beg, end;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
0_0_18018247_15719.cpp: In function 'int main()':
0_0_18018247_15719.cpp:106:14: error: reference to 'end' is ambiguous
if (INF == end.step)
^
0_0_18018247_15719.cpp:45:11: note: candidates are: NODE end
NODE beg, end;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
0_0_18018247_15719.cpp:109:20: error: reference to 'end' is ambiguous
printf ("%d\n", end.step);
^
0_0_18018247_15719.cpp:45:11: note: candidates are: NODE end
NODE beg, end;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:66:0,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64,
from 0_0_18018247_15719.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
|