O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

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

Containers

When you need to store a collection of objects, you need a container to hold them. The C++ standard library provides many powerful containers, such as std::vector, std::list, or std::map. However, Qt doesn't use these containers (actually, it hardly uses any standard library classes at all) and provides its own alternative implementation of containers instead. When Qt containers were introduced, they provided significantly more consistent performance on different platforms compared to standard library implementations, so they were required to create reliable cross-platform applications. This is not really the case now, as STL implementations and compilers have since evolved and gained new optimizations and features. However, there ...

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