I'm attempting to build a queue of queues that I can use to manage multiple data sets, but I'm not sure how. Simply delaring queue<queue> doesn't work and returns the following error:
error: type/value mismatch at argument 1 in template parameter list for ‘template<class Type> class queue’
main.cpp:18: error: expected a type, got ‘queue’
main.cpp:18: error: invalid type in declaration before ‘;’ token
make: *** [main.o] Error 1
Is it even possible to implement this sort of data structure, and if so, how should I go about it?
Note: This is a class assignment where we are required to code the queue ourselves rather than use the Standard Template Library.