Title
<cstdlib> requirements missing size_t typedef
Status
cd1
Section
[alg.c.library]
Submitter
Judy Ward

Created on 2000-12-30.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Since size_t is in <stdlib.h>, it must also be in <cstdlib>.

Date: 2010-10-21.18:28:33

Proposed resolution:

Add the type size_t to Table 78 (section 25.4) and add the type size_t <cstdlib> to Table 97 (section C.2).

Date: 2000-12-30.00:00:00

The <cstdlib> header file contains prototypes for bsearch and qsort (C++ Standard section 25.4 paragraphs 3 and 4) and other prototypes (C++ Standard section 21.4 paragraph 1 table 49) that require the typedef size_t. Yet size_t is not listed in the <cstdlib> synopsis table 78 in section 25.4.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2117
2010-10-21 18:28:33adminsetmessages: + msg2116
2000-12-30 00:00:00admincreate