I think this error is likely for something really obvious, but I've done my research, and I can't find a concrete reason, I'm including the appropriate headers, here's what I've got:
1 2 3 4 5 6 7 8
#include <iostream>
#include <vector>
#include <deque>
#include <list>
int main() {
list < deque<int> > mylist;
}
The error this generates is the one stated in the subject for this question: 'list' was not declared in this scope and 'deque' was not declared in this scope