|
|
Subscribe / Log in / New account

New C features in GCC 13 (Red Hat Developer)

New C features in GCC 13 (Red Hat Developer)

Posted May 4, 2023 21:13 UTC (Thu) by atai (subscriber, #10977)
In reply to: New C features in GCC 13 (Red Hat Developer) by bartoc
Parent article: New C features in GCC 13 (Red Hat Developer)

C++ like "auto" in C?


to post comments

New C features in GCC 13 (Red Hat Developer)

Posted May 5, 2023 22:37 UTC (Fri) by bartoc (guest, #124262) [Link]

yes, but it's simpler because it doesn't need to deal with all of c++'s rules around references and whatnot. Again, gcc already had this in the form of __auto_type. Typeof() is also included in c23.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds