I want to create a queue list in C ++, but the compiler gives me some cryptic messages:
#include <list> #include <queue> class Test { [...] list<queue> list_queue; [...] }
Conclusion:
error C2143: syntax error : missing ';' before '<' error C4430: missing type specifier - int assumed. Note: C++ does not support default-int error C2238: unexpected token(s) preceding ';'
This gives me the same error even if I use int as a template template. What's happening?
(btw, I am using VC ++ 2008 EE)
source share