Comment on CPIP – A C/C++ preprocessor implemented in PythonparentComments−pjmlp11yC++ only needs the preprocessor for two things- includes (until modules become available)- conditional compilationMacros are better replaced with inline, constant expressions, templates with the added benefit of type safety and debugger support.
Comments
C++ only needs the preprocessor for two things
- includes (until modules become available)
- conditional compilation
Macros are better replaced with inline, constant expressions, templates with the added benefit of type safety and debugger support.