News for hackers. Stuff that matters.
Re:Maintain It with Zig by flohofwoe on Thursday September 09, 2021 @04:54AM (#28467698)
_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)'.

There are no comments on this comment yet.