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.
intptr_t
/ uintptr_t
Section: 17.4.1 [cstdint.syn], 99 [tr.c99.cstdint.syn] Status: NAD Editorial Submitter: Paolo Carlini Opened: 2006-01-30 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [cstdint.syn].
View all issues with NAD Editorial status.
Discussion:
In the synopsis, some types are identified as optional: int8_t
, int16_t
,
and so on, consistently with C99, indeed.
On the other hand, intptr_t
and uintptr_t
, are not marked as such and
probably should, consistently with C99, 7.18.1.4.
Proposed resolution:
Change 17.4.1 [cstdint.syn]:
... typedef signed integer type intptr_t; // optional ... typedef unsigned integer type uintptr_t; // optional ...
Rationale:
Recommend NAD and fix as editorial with the proposed resolution.