<cstdalign>
(following adoption of P0063r3)Section: 21.3.5.4 [meta.unary.prop] Status: NAD Editorial Submitter: Thomas Koeppe Opened: 2016-11-20 Last modified: 2020-09-06
Priority: Not Prioritized
View other active issues in [meta.unary.prop].
View all other issues in [meta.unary.prop].
View all issues with NAD Editorial status.
Discussion:
In Oulu, we adopted P0063r3 to base C++ on C11. C11 is the first version
of C that defines a header <stdalign.h>
. However, C++11 (!) already seems to have defined headers
<cstdalign>
and <stdalign.h>
, even though C99 does not have <stdalign.h>
.
<cstdalign>
and to rebase C++ onto C11. However, the latter part didn't happen, leaving the header
dangling without a sensible specification.
I suggest two actions:
<cstdalign>
and <stdalign.h>
.<cstdalign>
as a new feature; I would like to revert that
decision and not add this header. Instead, P0063r3 should only add <stdalign.h>
(which should
be done in Annex D) for compatibility with C.<cstdalign>
, we should at least put the specification of <cstdalign>
into Annex D.
Moreover, I would like to ask LWG for editorial dispensation to move the specifications of <ccomplex>
,
<ctgmath>
and <cstdbool>
wholly into Annex D, too, since these are now deprecated features that are not otherwise referred to or needed by the main text. An example change is available
on github, which incorporates solution 2b.
Wording for solution 2a can be produced on request.
[2017-01-27 Telecon]
NAD Editorial; Thomas will make the editorial changes (option 2B)
Proposed resolution: