Skip to content

[atomics.syn, stdatomic.h.syn] Mark exact-width atomic aliases as optional - #9456

Open
saggl wants to merge 1 commit into
cplusplus:mainfrom
saggl:editorial/optional-atomic-aliases
Open

saggl wants to merge 1 commit into
cplusplus:mainfrom
saggl:editorial/optional-atomic-aliases

Conversation

@saggl

@saggl saggl commented Dec 5, 2026

Copy link
Copy Markdown

[atomics.syn] already makes the exact-width atomic aliases conditional on the corresponding integer typedefs. Mark the eight aliases as optional in the <atomic> and <stdatomic.h> synopses, following the convention in [cstdint.syn].

In [stdatomic.h.syn]/2, use atomic_intN_t and atomic_uintN_t so the paragraph names the using-declarations that appear in the synopsis.

Fixes #9301.

…ional

Use the atomic alias names in the paragraph describing the conditional using-declarations in <stdatomic.h>.

Fixes cplusplus#9301.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[atomics.syn] Missing // optional comments for atomic_intN_t aliases

1 participant