English
Topic 16. C++ modules, organizing multi-file projects, and new features of the C++26 standard
Goal: learn to separate the interface and the implementation of a library; build named modules, static libraries, and independent clients; automate builds and checks; and determine which features the installed compiler supports.
Lecture contents
- Multi-file projects and the ODR — From one program to a project · Example 1. A geometry library with a header · The one definition rule and linkage · Namespaces and the library interface
- Libraries and modules — Static and dynamic libraries · C++20 named modules · The standard library as a module
- CMake and C++26 — CMake and a reproducible build description · C++26: a language feature and its availability in an implementation · Organizing a training repository · Common mistakes