Namespaces
Variants
Views
Actions

Talk:c/types

From cppreference.com

[edit] Organization of C topics

I keep trying to master the thinking behind how topics are organized. If "Boolean" should be included under "type support", should "complex" also be included here instead of linking to "complex number arithmetic" from the Headers page? Also, what should stdbool.h in the header page link to? No link seems inappropriate. Newatthis (talk) 07:19, 4 November 2014 (PST)

Libraries that deal primarily with types are grouped under c/types. Libraries that deal primarily with mathematics are grouped under c/numeric. stdbool.h is the header for the boolean type support library, so it would link to c/types/boolean (unless c/types/boolean is inlined into /c/types, since it's such a small library, in which case the header would link to the subheading under /c/types). --Cubbi (talk) 09:29, 4 November 2014 (PST)
Thanks, I understand now. I'll link the header stdbool.h to c/types/boolean. Newatthis (talk) 11:39, 4 November 2014 (PST)

[edit] wchar_t?

What happened to wchar_t (defined in <stddef.h>)? DevSolar (talk) 03:22, 10 April 2019 (PDT)

it's still there, in c/string/wide#Types. --Cubbi (talk) 06:59, 10 April 2019 (PDT)

[edit] Names removed from C23 that become keywords

true, false, and probably other identifiers that I don't know about, will still be valid in C23, even though they are shown here as "Removed in C23". This is because in C23 they become keywords.

Would somebody please edit this page to add this explanation, and do so for any other examples on this and any other pages.