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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.