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.
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 ...
No credit card required