Hacker News new | past | comments | ask | show | jobs | submit login

As C preprocessor macros come these are pretty mild.



Mind this is only the simplest functions and thing can already go wild if you apply classic bad C++ coding practices, like cascade inheritance or god object. Add to that, you will (oh yes, you will, at least once) make type errors with macros, and you will fail to maintain all the class constructors and virtual functions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: