APPENDIX BContainers, Types, and Macros

Qt provides a range of macros, types, and containers for making your life as a developer easier. You can use this chapter as a reference when comparing and using these features.

Containers

There are a number of containers available, which I have split into three groups: sequences, specialized containers, and associative containers. Sequences are just plain lists for keeping objects. Specialized containers are optimized for keeping a certain content type or for a specific usage scenario. Associative containers are used for associating each data item to a key value.

Each of the following sections consists of the pros and cons of each type—pros are marked with plus signs (+); cons are marked with minus signs ...

Get Foundations of Qt Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.