C++ Logo

liaison

Advanced search

Re: [isocpp-wg14/wg21-liaison] P3248R0 Require [u]intptr_t

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Thu, 23 May 2024 20:18:04 +0300
On Thu, 23 May 2024 at 18:30, Jonathan Wakely <cxx_at_[hidden]> wrote:
>> > In <cstdint>, which is a C++ header and not a C header.
>
>
> Just to be clear: if it's required to be present in <cstdint> then it's also required to be present in the C++ version of <stdint.h>.

You're citing the general rule, which can have specific exceptions,
and this proposal does carve exactly such an exception
in its wording. So, as proposed, this proposal requires [u]intptr_t in
<cstdint>, but not in the C++ version of <stdint.h>.

Received on 2024-05-23 17:18:17