r/cpp • • Mar 09 '26

The compilation procedure for C++20 modules

https://holyblackcat.github.io/blog/2026/03/09/compiling-modules.html
103 Upvotes

47 comments sorted by

View all comments

Show parent comment

2

u/not_a_novel_account cmake dev Mar 10 '26

Full honesty this stuff is underspecified IMHO and I don't have full confidence in my interpretation.

Going over the standard again in detail, I'm far less sure about how this is supposed to work. I'm to ping SG15 people tomorrow and try to hash out at least for my own understanding.

Naively, I think this is maybe supposed to work, MSVC is wrong. However, there might be something subtle in the reachability section I'm not understanding.