Comment Comment by zenogais Type generic expressions [1] already exist in C11. You can do this without a special compiler front-end if you need it, you would just need to define each variant by hand. These are supported in GCC and Clang with the -std=c11 flag.[1]: http://www.robertgamble.net/2012/01/c11-generic-selections.h... parent zenogais 7 years ago
[1]: http://www.robertgamble.net/2012/01/c11-generic-selections.h...