Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Most of the abuses of #define I have seen, a template or constexpr takes care of. There are still some cases where it is nice. But many times you probably should just write a function/method/template out of it anyway.


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

Search: