r/cpp_modules • u/tartaruga232 • Apr 09 '26
C++ Modules: Internal Partitions
https://abuehl.github.io/2026/04/09/internal-partitions.htmlA summary of what internal partitions are (according to the C++ standard). I tried to be precise, without reaching for standardese.
1
Upvotes
View all comments
Show parent comment
1
u/Ateist Apr 10 '26 edited Apr 10 '26
They had to inspect only the file at hand and its included files - all the information obtained from the file they are inspecting.
Now they have to inspect ALL the files to find out where the "module" it is importing came from.
Which essentially turns them into compilers themselves...
If POSIX or LPTHREAD makes a difference (as I have experienced) they contain more than that.