0_0_38474411_21551.cpp: In function 'void exe(int, int, int, int)':
0_0_38474411_21551.cpp:21:24: error: no matching function for call to 'std::queue<pos>::push(<brace-enclosed initializer list>)'
now.push({ sx, sy, 0 });
^
0_0_38474411_21551.cpp:21:24: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_38474411_21551.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:215:7: note: void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = pos; _Sequence = std::deque<pos, std::allocator<pos> >; std::queue<_Tp, _Sequence>::value_type = pos]
push(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:215:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const pos&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:220:7: note: void std::queue<_Tp, _Sequence>::push(std::queue<_Tp, _Sequence>::value_type&&) [with _Tp = pos; _Sequence = std::deque<pos, std::allocator<pos> >; std::queue<_Tp, _Sequence>::value_type = pos]
push(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:220:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::queue<pos>::value_type&& {aka pos&&}'
0_0_38474411_21551.cpp:41:32: error: no matching function for call to 'std::queue<pos>::push(<brace-enclosed initializer list>)'
now.push({ dx, dy, ti + 1 });
^
0_0_38474411_21551.cpp:41:32: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_38474411_21551.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:215:7: note: void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = pos; _Sequence = std::deque<pos, std::allocator<pos> >; std::queue<_Tp, _Sequence>::value_type = pos]
push(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:215:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const pos&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:220:7: note: void std::queue<_Tp, _Sequence>::push(std::queue<_Tp, _Sequence>::value_type&&) [with _Tp = pos; _Sequence = std::deque<pos, std::allocator<pos> >; std::queue<_Tp, _Sequence>::value_type = pos]
push(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:220:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::queue<pos>::value_type&& {aka pos&&}'
|