O'Reilly logo

Foundations of Qt Development by Johan Thelin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required