0_0_38474421_18174.cpp: In function 'void exe(int, int, int, int)':
0_0_38474421_18174.cpp:20:24: error: no matching function for call to 'std::queue<pos>::push(<brace-enclosed initializer list>)'
now.push({ sx, sy, 0 });
^
0_0_38474421_18174.cpp:20:24: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_38474421_18174.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_38474421_18174.cpp:40:32: error: no matching function for call to 'std::queue<pos>::push(<brace-enclosed initializer list>)'
now.push({ dx, dy, ti + 1 });
^
0_0_38474421_18174.cpp:40:32: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_38474421_18174.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&&}'
|