2 ms·
C11 added _Generic for overloading by type.
by kevin_thibedeau 6y ago
C11 added _Generic for overloading by type.
- eqvinox 6y ago... which you use inside of a #define :) Like, #define foo_generic(x) _Generic(x, ...) [what I intend to say with this post: _Generic in no way replaces #define, in fact it is designed to work with it.]