Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[basic.lval] Dynamic type is not a property of objects #3934

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sdkrystian
Copy link
Contributor

This is not the only place where such wording exists, but fixing other occurrences would require more substantial rewrites.

Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that the terminology "dynamic type" vs. "static type" is less than ideal, but we need a wholesale fix for that instead of changing a single occurrence (that isn't even the worst).

@zygoloid
Copy link
Member

"static" versus "dynamic" isn't at all relevant here, since we have no accesses of class type. I think I'd prefer to strike the "dynamic" and not add a "static".

@jensmaurer
Copy link
Member

Good point; an "access" in C++ is always on a built-in type.

@jensmaurer jensmaurer added the changes requested Changes to the wording or approach have been requested and not yet applied. label Sep 19, 2020
@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 18, 2022

@jensmaurer Should we take over this PR? It looks like useful cleanup.

@jensmaurer
Copy link
Member

Yes, I think there is some cleanup necessary in this area..

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 18, 2022

@jensmaurer: Shall we start by just deleting the two instances of "dynamic" here and leaving wider cleanup for a separate effort?

@jensmaurer
Copy link
Member

I think I'd prefer a more wholesale approach with CWG review.

@tkoeppe tkoeppe added the cwg Issue must be reviewed by CWG. label Aug 22, 2022
@wg21bot wg21bot added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested Changes to the wording or approach have been requested and not yet applied. cwg Issue must be reviewed by CWG. needs rebase The pull request needs a git rebase to resolve merge conflicts.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants