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

_Generic() is not a preprocessor feature, but a "real" language feature (I was confused too when I saw it first though).

The only preprocessor part in the example is mapping the function-like macro 'cbrt(X)' to the language keyword '_Generic(X)'.



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

Search: