Skip to content

Comment on CPIP – A C/C++ preprocessor implemented in Pythonparent

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?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.