Skip to content

Conversation

@eisenwave
Copy link
Member

@eisenwave eisenwave commented Nov 18, 2025

We have the terms "character type" and "standard integer type", so we may as well use them in the standard library instead of listing all types within those sets exhaustively.

It's really difficult to tell what the design intent is when you have a list of 15 types and need to figure out which ones are on this list, and which types are missing (but you would have expected to see).

There is also wording asymmetry: https://eel.is/c++draft/atomics.types.float#1 simply says there is a specialization for each "cv-unqualified floating type" in bulk, instead of listing float, double, and long double.

…ger type" instead of listing each type

Revised description of atomic class template specializations.
@eisenwave eisenwave added the P3-Other Triaged issue not in P1 or P2 label Nov 18, 2025
@jwakely
Copy link
Member

jwakely commented Nov 18, 2025

There is also wording asymmetry: https://eel.is/c++draft/atomics.types.float#1 simply says there is a specialization for each "cv-unqualified floating type" in bulk, instead of listing float, double, and long double.

Because that includes std::float32_t etc. and it's impl-defined which of the extended floating-point types are supported.

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

Labels

P3-Other Triaged issue not in P1 or P2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants