_Generic
摘要
C has the _Generic keyword that enables compile-time selection of an expression based on the type of its argument. The motivation is the ability for library authors to provide a veneer of C++ function overloading in C. This chapter covers the _Generic keyword and gives many examples of its use.