This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.
Section: C.6 [diff.library] Status: NAD Editorial Submitter: Martin Sebor Opened: 2005-11-25 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [diff.library].
View all issues with NAD Editorial status.
According to C.2.2.3, p1, "the macro NULL, defined in any of <clocale>, <cstddef>, <cstdio>, <cstdlib>, <cstring>, <ctime>, or <cwchar>." This is consistent with the C standard.
However, Table 95 in C.2 fails to mention <clocale> and <cstdlib>.
In addition, C.2, p2 claims that "The C++ Standard library provides 54 standard macros from the C library, as shown in Table 95." While table 95 does have 54 entries, since a couple of them (including the NULL macro) are listed more than once, the actual number of macros defined by the C++ Standard Library may not be 54.
I propose we add <clocale> and <cstdlib> to Table 96 and remove the number of macros from C.2, p2 and reword the sentence as follows:
The C++ Standard library
provides 54 standard macros fromthe C library, as shown in Table 96.
[ Portland: Resolution is considered editorial. It will be incorporated into the WD. ]