Skip to content

Comments

[basic.fundamental] Harmonize "Type X is a distinct type..." wordings#8762

Open
Quuxplusone wants to merge 1 commit intocplusplus:mainfrom
Quuxplusone:distinct-type.topic
Open

[basic.fundamental] Harmonize "Type X is a distinct type..." wordings#8762
Quuxplusone wants to merge 1 commit intocplusplus:mainfrom
Quuxplusone:distinct-type.topic

Conversation

@Quuxplusone
Copy link
Contributor

Types are types; types do not denote types.

Here I don't know if there might be a reason we talk about cv nullptr_t being multiple distinct types, as if otherwise the reader might imagine const nullptr_t to be the same type as volatile nullptr_t. Otherwise, that sentence should clearly be just "std::nullptr_t is a distinct type."

Notably std::meta::info is not currently described as a distinct type. I don't think that's intentional; I think it's practically required to be a distinct type anyway. So I think this diff is editorial.

Types are types; types do not denote types.

Here I don't know if there might be a reason we talk about cv nullptr_t
being multiple distinct *types*, as if otherwise the reader might imagine
const nullptr_t to be the same type as volatile nullptr_t. Otherwise,
that sentence should clearly be just "std::nullptr_t is a distinct type."

Notably `std::meta::info` is *not* currently described as a distinct type.
I don't think that's intentional; I think it's practically required to
be a distinct type anyway. So I think this diff is editorial.
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.

1 participant