C: New operators
C: New operators
Posted May 4, 2026 0:53 UTC (Mon) by alx.manpages (subscriber, #145117)Parent article: GCC 16.1 released
On the C side of things, there are three new operators: _Countof(), _Maxof(), and _Minof() (disclaimer: I added them).
_Countof() is the usual ARRAY_SIZE(), but slightly more powerful with VLAs. (And it might become even more powerful in the future.)
_Maxof() and _Minof() return the maximum and minimum representable values of the input type.
