[Polish] The C++ Club - 16. Unions, Private Inheritance, PIMPL, Ref-Qualification, Aggregates

Опубликовано: 11 Июль 2026
на канале: JBGraphics
536
8

We discuss unions, private inheritance, protected inheritance, aggregates, aggregate initialization, designated initialisers, ref-qualification and PIMPL.

More about type punning: https://stackoverflow.com/q/67636231/...
More about const&&:    • CppCon 2018: Simon Brand “How to Write Wel...  

00:00 - Unions
06:16 - Type theory
11:26 - Modern C++ alternatives to unions
13:07 - Union uses
17:07 - Aggregate Initialization
21:13 - Designated Initializers
23:59 - Protected and Private Inheritance
29:02 - Uses of protected and private inheritance
34:24 - Member function reference qualification
40:53 - Implementing classes in source files
44:37 - PIMPL

#programming #oop #polymorphism