Article 6BEGN New C features in GCC 13 (Red Hat Developer)

New C features in GCC 13 (Red Hat Developer)

by
corbet
from LWN.net on (#6BEGN)
The Red Hat Developer site has anoverview of some of the new C-language features supported by theGCC 13 release.

The nullptr constant first appeared in C++11, described inproposal N2431 from 2007. Its purpose was to alleviate the problemswith the definition of NULL, which can be defined in avariety of ways: (void *)0 (a pointer constant),0 (an integer), and so on. This posed problems foroverload resolution, generic programming, etc. While C doesn't havefunction overloading, the protean definition of NULL stillcauses headaches.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments