Yes, you can:
Yes, you can:
J-P Nurmi
Note the space between the two ">"
Perhaps you find it easier if you introduce a typedef.Qt Code:
QList<QList<int>> // syntax error!To copy to clipboard, switch view to plain text mode
Qt Code:
typedef QList<MyType> MyList; QList<MyList> aListOfLists;To copy to clipboard, switch view to plain text mode
Sorry, I have been away.
Probably a space issue, since it worked when I tried it again. I can try and recreate it if you would like.
Thanks all.
Yes its a space issue
As far as I remember >> cause problem in parsing. give a space between them > > and it will work.QList<QList<int>> // syntax error!
Bookmarks