3 ms·
C11 doesn't obsolete it, right? It only permits it to be implemented portably. For the curious, here's an implementation of tgmath.h on top of _Generic: https
by EdSchouten 7y ago
C11 doesn't obsolete it, right? It only permits it to be implemented portably.
For the curious, here's an implementation of tgmath.h on top of _Generic:
https://github.com/NuxiNL/cloudlibc/blob/master/src/include/tgmath.h https://github.com/NuxiNL/cloudlibc/blob/master/src/include/...
- kzrdude 7y agoFar from obsolete.. more is coming :) 'Add type generic interfaces for string functions to the C library, see N2068' has been mentioned as a possible C2x addition https://gustedt.wordpress.com/2018/11/12/c2x/ https://gustedt.wordpress.com/2018/11/12/c2x/