[Development] Is QMap Broken

André Somers andre at familiesomers.nl
Thu Nov 6 09:13:07 CET 2014

Tomasz Siekierda schreef op 6-11-2014 09:10:
> To store 2 items at a single position in list/ vector, you can use 
> QPair, like this: QLIst<QPair<type1, type2> >()
Better yet, just use a struct then. QPair in my experience results in 
badly readable code. Who will ever remember down the line what was 
first, and what was second? And the moment you end up needing a third 
item, QPair is insufficient anyway.


More information about the Development mailing list