3 ms·
Is it possible yet to use C++ productively without the preprocessor at all (including in the standard libraries)? If not, then the C++ committee should focus o
by amelius 8y ago
Is it possible yet to use C++ productively without the preprocessor at all (including in the standard libraries)?
If not, then the C++ committee should focus on that, imho.
- arijun 8y agoWhat’s the problem with the preprocessor?
- amelius 8y agoSorry, perhaps I should have elaborated on that. See for example the top answers here for a good discussion: https://stackoverflow.com/questions/14041453/why-are-preprocessor-macros-evil-and-what-are-the-alternatives https://stackoverflow.com/questions/14041453/why-are-preproc...
- kllrnohj 8y agoHerb Sutter's metaclasses proposal is basically that - the feature to replace macros. https://herbsutter.com/2017/07/26/metaclasses-thoughts-on-generative-c/ https://herbsutter.com/2017/07/26/metaclasses-thoughts-on-ge...