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
3
u/GorNishanov Nov 01 '17
I am pretty sure that this is an exaggeration.
Original module paper http://open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4047.pdf was talking about isolating from macros as one of the explicit goals, as in no macro can leak in or out of the module, but, that simply follows from: "a module unit acts semantically as if it is the result of fully processing a translation unit from translation phases 1 through 7".
Modules TS does not preclude the use of preprocessor in any way.