filmov
tv
[MUC++] Sándor Dargó - Strongly typed containers
Показать описание
At this talk, you will learn about the costs and benefits of strong typing before we jump into the realms of strongly typed containers. You'll learn about when and how it is acceptable to inherit from an STL container. Do we really need a virtual destructor? Can we go against the design decisions of the authors of the STL? And even if we can sometimes, when should we completely avoid the idea? Then you'll learn about alternative solutions such as simple aliasing that is maybe not so restrictive, the rarely used private inheritance and composition. Later, we'll compare the different solutions and discuss how you can make a decision between the different approaches. Finally, we'll review what open source solutions are available.