0_0_24358485_4140.cpp:5:18: error: 'aka' was not declared in this scope
void clear(queue<aka>& q) {
^
0_0_24358485_4140.cpp:5:21: error: template argument 1 is invalid
void clear(queue<aka>& q) {
^
0_0_24358485_4140.cpp:5:21: error: template argument 2 is invalid
0_0_24358485_4140.cpp: In function 'void clear(int&)':
0_0_24358485_4140.cpp:6:8: error: 'aka' was not declared in this scope
queue<aka> empty;
^
0_0_24358485_4140.cpp:6:11: error: template argument 1 is invalid
queue<aka> empty;
^
0_0_24358485_4140.cpp:6:11: error: template argument 2 is invalid
0_0_24358485_4140.cpp:6:18: error: invalid type in declaration before ';' token
queue<aka> empty;
^
0_0_24358485_4140.cpp: In function 'int bfs(int)':
0_0_24358485_4140.cpp:24:11: error: invalid initialization of reference of type 'int&' from expression of type 'std::queue<aka>'
clear(q);
^
0_0_24358485_4140.cpp:5:6: note: in passing argument 1 of 'void clear(int&)'
void clear(queue<aka>& q) {
^
0_0_24358485_4140.cpp:53:9: error: invalid initialization of reference of type 'int&' from expression of type 'std::queue<aka>'
clear(q);
^
0_0_24358485_4140.cpp:5:6: note: in passing argument 1 of 'void clear(int&)'
void clear(queue<aka>& q) {
^
|