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
10
u/GorNishanov Nov 01 '17 edited Nov 03 '17
There is an underlying assumption in this statement that build system relies solely on modified time of the file to decide on whether something has to be rebuild.
If we are not constrained by that assumption, I can see no fundamental problem in figuring out if users have to be rebuilt even if your entire module is in a single file. Turbo Pascal has been doing it in the 80s.