Re:Transmission torrent client ported to C++
by klyrs on Sunday September 12, 2021 @11:16PM
(#28507518)
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.
[ Parent
| on HN ]
Re:Transmission torrent client ported to C++
by edflsafoiewq on Monday September 13, 2021 @12:08AM
(#28507774)
_Generic is basically a switch on typeof(x). Despite the name, it's really a specialization/overloading mechanism.