Skip to content

Inconsistent description of C++ extensions to header <cstddef> LWG3484 #4144

Closed
@AlisdairM

Description

@AlisdairM

In addition to importing the contents of <stddef.h> into namespace std, the header also adds the typedef nullptr_t, and type byte, and operations on type byte. This additions are partially described in two different locations:
[cstddef.syn]p1 notes the addition of byte and its operations, but makes no mention of nullptr_t.
[diff.mods.to.declarations]p3 (in the C compatibility annex) notes the addition of nullptr_t, but says nothing about byte and its operations.

For consistency, we should either consolidate this descriptive material to either one place, or duplicate it completely in both. Opening and issue, rather than filing an initial PR, as not sure which direction would be preferred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions