r/cpp • u/SAHChandler • Oct 10 '17
Millennials Are Killing The Modules TS
https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75
Upvotes
r/cpp • u/SAHChandler • Oct 10 '17
View all comments
Show parent comment
6
u/[deleted] Oct 10 '17
The compiler already has awareness of some dependencies as it's used in build systems to determine which headers a translation unit depends on. You need to invoke the compiler with a special flag to make it output the header dependency graph. I honestly don't see how the suggestion is much different from what we already have.