3 ms·
Nitpick: C11 introduced support for some form of that kind of overloading, using _Generic macros. See http://en.cppreference.com/w/c/language/generic http://en.
by Someone 9y ago
Nitpick: C11 introduced support for some form of that kind of overloading, using _Generic macros. See http://en.cppreference.com/w/c/language/generic http://en.cppreference.com/w/c/language/generic, https://stackoverflow.com/questions/9804371/syntax-and-sample-usage-of-generic-in-c11 https://stackoverflow.com/questions/9804371/syntax-and-sampl..., https://stackoverflow.com/questions/40096584/c11-generic-usage https://stackoverflow.com/questions/40096584/c11-generic-usa....
Ugly? Yes, IMO, but it also is useful.