Skip to content

[basic.stc.dynamic] Spell out compound type names#8641

Open
lprv wants to merge 1 commit intocplusplus:mainfrom
lprv:r79
Open

[basic.stc.dynamic] Spell out compound type names#8641
lprv wants to merge 1 commit intocplusplus:mainfrom
lprv:r79

Conversation

@lprv
Copy link
Contributor

@lprv lprv commented Dec 15, 2025

No description provided.

@eisenwave eisenwave added the P2-Bug Presentational errors and omissions label Feb 26, 2026
@eisenwave
Copy link
Member

@jensmaurer I don't think we formally wrote this down anywhere, but we generally aspire to use the quoted spelling of types in core wording, don't we?

@jensmaurer
Copy link
Member

Well, first of all, something like T* is not a type, but a type-id that needs (semantic) interpretation. After interpretation by [dcl.decl], this becomes a quoted type string, which we take as our standard type description. The library description tends to gloss over that difference and happily uses type-ids all over the place.

Traditionally, we don't use quotes around "simple" types such as int or even unsigned long int, but those essentially don't appear in the standard at all (except where defined).

In short, the suggested changes here look good.

@jensmaurer jensmaurer added this to the post-2026-03 milestone Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2-Bug Presentational errors and omissions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants