c++ - list 能否放置vector类型?
ringa_lee
ringa_lee 2017-04-17 11:50:10
0
3
725

例如这样是否可行:
list < vector< string > > ?

ringa_lee
ringa_lee

ringa_lee

reply all(3)
大家讲道理
std::list<std::vector<std::string> >

Of course

黄舟

Of course you can, otherwise why would you call it a "container"?

洪涛

No problem, please pay attention to the grammar writing. There needs to be a space between the two rightmost >, otherwise it will be confused with the >> symbol during grammar parsing;

list < vector< string > >
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template