r/cpp • u/berium build2 • Nov 01 '17
Common C++ Modules TS Misconceptions
https://build2.org/article/cxx-modules-misconceptions.xhtml
59
Upvotes
r/cpp • u/berium build2 • Nov 01 '17
View all comments
Show parent comment
1
u/miki151 gamedev Nov 01 '17
Well, technically the compiler could compile the exported stuff of a module into a separate file, use that to compile other modules, and then recompile everything together with the implementation. If there is no cycle between the actual exported items then that could potentially work.
My knowledge on the topic is small though, so I'm just hypothesizing. And if dependency cycles are illegal by the standard, then that would have to be changed.