Alejandro Colomar wrote: > BTW, there's 3 more operators in the oven, which I expect will be > approved in August for C2y: _Widthof, _Minof, and _Maxof. > <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3518.txt> > The feedback from the C Committee has been good so far. I don't have a > header in mind for those operators, but I might add it as <stdwidth.h> > if the committee wants one.
Given that <stdint.h> already defines various *_WIDTH, *_MIN, *_MAX macros, it would seem logical to stuff _Widthof, _Minof, _Maxof into <stdint.h> if they are not to be compiler built-ins. (They don't need to be compiler built-ins because they can be implemented portably, see gnulib/lib/intprops.h). Bruno