r/cpp • u/holyblackcat • Mar 09 '26
The compilation procedure for C++20 modules
https://holyblackcat.github.io/blog/2026/03/09/compiling-modules.html
103
Upvotes
r/cpp • u/holyblackcat • Mar 09 '26
View all comments
Show parent comment
5
u/ABlockInTheChain Mar 09 '26
You can do that if you control the original declaration.
It does not however work for third party code that was declared with module linkage and that can be a problem in other situations.