Skip to content

[expr.prim.this]/2 alludes to the grammar production declarator without necessity #2306

@jabelloc

Description

@jabelloc

[expr.prim.this]/2:

If a declaration declares a member function or member function template of a class X, the expression this is a prvalue of type “pointer to cv-qualifier-seq X” between the optional cv-qualifier-seq and the end of the function-definition, member-declarator, or declarator. . . .

A member-declarator is already defined in terms of a declarator. Therefore, the declarator can be eliminated above without loss of generality.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions