3 ms·
C++ modules has been promised for a long time, I wouldn't hold my breath on it coming anytime soon. As for build times, it is sadly very easy in C++ to have lo
by Night_Thastus 4y ago
C++ modules has been promised for a long time, I wouldn't hold my breath on it coming anytime soon.
As for build times, it is sadly very easy in C++ to have long build times. Avoiding it takes careful work, knowing when and what to include, when to forward-declare instead, and always maintaining includes as requirements change, etc.
There's nothing to make that process any easier or automatic, which is very frustrating. There's the include-what-you-use project, but I could never get it to work.
- P5fRxh5kUvp2th 4y agoI was under the impression C++ Modules were accepted in C++20, although I'm not sure how complete the implementations are. But yes, C++ build times are why I'm not a fan of header-only libraries, especially ones that have templating in them.