4 ms·
In C11, Type-generic expressions give you something that looks just like overloading (http://www.robertgamble.net/2012/01/c11-generic-selections.html http://www
by Someone 13y ago
In C11, Type-generic expressions give you something that looks just like overloading (http://www.robertgamble.net/2012/01/c11-generic-selections.html http://www.robertgamble.net/2012/01/c11-generic-selections.h...)
The declarations do not look nice (I don't think that is a matter of taste in this case, compared to overloading in C++), but for the principled who want to use C or for those who have to use C, there is a solution.