S
s
Can I have a STL list of lists?
s said:Can I have a STL list of lists?
Can I have a STL list of lists?
s said:Can I have a STL list of lists?
Mike Wahler said:Sure.
std::list<std::list<int> > listoflists;
When 'nesting' the angle brackets like this,
be sure to separate them by whitespace, else
the compiler will think they're a shift operator,
and generate an error.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.