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
104
Upvotes
r/cpp • u/holyblackcat • Mar 09 '26
View all comments
Show parent comment
1
u/holyblackcat Mar 10 '26
To be fair, I don't think I ever wanted/needed a dependency cycle between headers in separate subdirectories.
You can still have circular dependencies between subdirectories/named-modules if they don't involve forward declarations (when implementation files import the dependency, rather than the interface files).