Title
minor NULL problems in C.2
Status
nad editorial
Section
[diff.library]
Submitter
Martin Sebor

Created on 2005-11-25.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

[ Portland: Resolution is considered editorial. It will be incorporated into the WD. ]

Date: 2010-10-21.18:28:33

Proposed resolution:

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 from defines a number macros corresponding to those defined by the C Standard library, as shown in Table 96.

Date: 2005-11-25.00:00:00

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.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3010
2010-10-21 18:28:33adminsetmessages: + msg3009
2005-11-25 00:00:00admincreate