C2x is an informal name for the next (after C17) major C language standard revision.[1] It is not expected to be voted on until December 2021.[2][3]
Among proposed features:
memccpy()
, strdup()
, strndup()
– similar to functions found in the POSIX and SVID C extensionschar8_t
type, in the same vein as char16_t
and char32_t
added in C11 (proposal N2231[5]).The GCC 9[3] and Clang 9.0[4] compilers support the -std=c2x option to support this standard.
it's plausible some 18661-1 functions will not end up in C2X; specifically, the changes to minimum / maximum operations in IEEE 754-2019 could result in fmaxmag / fminmag being removed (see<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2273.pdf>)
Preceded by C17 |
C language standards | Latest |
By: Wikipedia.org
Edited: 2021-06-18 15:14:45
Source: Wikipedia.org