开发者

What are the most useful proposed features of C1X?

开发者 https://www.devze.com 2023-01-01 13:32 出处:网络
What are the most useful proposed fea开发者_开发问答tures of C1X so far? And what support for them is there in current compilers?Personally, I have a lot of use for the _Align( ) specifier and alignof

What are the most useful proposed fea开发者_开发问答tures of C1X so far? And what support for them is there in current compilers?


Personally, I have a lot of use for the _Align( ) specifier and alignof operator. The _Align functionality is already pretty well supported in a lot of compilers (__attribute__((aligned( ))) in GCC, for example), but having a standardized syntax for reasoning about alignment is a welcome addition.


Anonymous structs & unions are helpful, and I already use them in GCC (with -std=gnu99).

Improved Unicode support is also long-overdue; though I’m not sure if people will switch to the C1x way from current Unicode libs.

0

精彩评论

暂无评论...
验证码 换一张
取 消