r/cpp_modules • • Apr 09 '26

C++ Modules: Internal Partitions

https://abuehl.github.io/2026/04/09/internal-partitions.html

A summary of what internal partitions are (according to the C++ standard). I tried to be precise, without reaching for standardese.

1 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/tartaruga232 Apr 10 '26

All major compilers have agreed to output a file which contains the dependency info that was collected while scanning for modules in source files.

See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1689r2.html

This was done by the CMake folks.