Strongly typed containers

Sandor Dargo

60 minute session
09:30-10:30, Thursday, 7th July 2022

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

strong types

Sandor Dargo

Sandor is a passionate software craftsman focusing on reducing the maintenance costs by developing, applying and enforcing clean code standards. His other core activity is knowledge sharing both oral and written, within and outside of his employer. When not reading or writing, he spends most of his free time with his two children and his wife baking at home or travelling to new places.