C++ modules draft, macros

Where is the best place to find the most up-to-date version of how modules will look like in the upcoming C++ standard?

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0955r0.pdf
Has there been any sort of final or almost-final consensus for how preprocessor macros will work in modules?
I assume if you need macros to bleed into your file for whatever reason (perhaps legacy code), you won't be able to use modules?

I read that modules can speed up compilation by ~20%. Will modules be able to speed up compile-time when it comes to templates?

Edit: Oh... modules are only listed as a "possible" new feature in C++20. Guess the specifics at this point are still subject to change a lot.
Last edited on
If it's 20%, it's something different that the authors called 'modules' by mistake. This is about factors, not percents.

The most recent proposal is http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1103r2.pdf - we'll know on february 23rd if it makes C++20
Awesome thanks, I'm sure that draft will clear up a lot of questions.
Last edited on
Topic archived. No new replies allowed.