4 ms·
C has had generics since C11. Can't fault you for not knowing that, as they're a pain to use and I think folks would rather forget that the language feature ex
by klyrs 5y ago
C has had generics since C11. Can't fault you for not knowing that, as they're a pain to use and I think folks would rather forget that the language feature exists.
- edflsafoiewq 5y ago_Generic is basically a switch on typeof(x). Despite the name, it's really a specialization/overloading mechanism.
- junon 5y agoThose aren't generics, they're more like overloading.