Comment on CPIP – A C/C++ preprocessor implemented in PythonparentComments−albertzeyer11ySure, where it is possible, C++ constructs (templates, inlines, constexpr, ...) should be used instead.However, one very important bit, where we (sadly) are not really moving away from: The include system. This is still handled all by the preprocessor.−atilaneves11yWe're moving away from it, it's just not done yet. I'd be surprised if C++17 doesn't have a module system, especially after the clang guys implemented one as a proof-of-concept.−72deluxe11yInteresting! Do you know if there's any proposals or papers detailing the idea anywhere?−pjmlp11yThis is one of them,http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n404...The other one is the clang onehttp://clang.llvm.org/docs/Modules.html−milliams11yHere's a recent one http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n404...Also see http://clang.llvm.org/docs/Modules.html
Comments
Sure, where it is possible, C++ constructs (templates, inlines, constexpr, ...) should be used instead.
However, one very important bit, where we (sadly) are not really moving away from: The include system. This is still handled all by the preprocessor.
We're moving away from it, it's just not done yet. I'd be surprised if C++17 doesn't have a module system, especially after the clang guys implemented one as a proof-of-concept.
Interesting! Do you know if there's any proposals or papers detailing the idea anywhere?
This is one of them,
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n404...
The other one is the clang one
http://clang.llvm.org/docs/Modules.html
Here's a recent one http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n404...
Also see http://clang.llvm.org/docs/Modules.html