Skip to content

Commit

Permalink
[class.derived.general] Restore accidental reversal of P2662R3 change
Browse files Browse the repository at this point in the history
P2662R3 contained a rename of the grammar production "class-or-decltype"
to "class-or-computed-type-specifier".  That was editorially reverted
with commit c831ec0, but that commit
also accidentally reverted the change from "decltype-specifier" to
"computed-type-specifier" as one of the options for "class-or-decltype".

This commit restores the latter change, as intended by P2662R3.
  • Loading branch information
jensmaurer committed May 11, 2024
1 parent 513635b commit d17a03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3381,7 +3381,7 @@
\nontermdef{class-or-decltype}\br
\opt{nested-name-specifier} type-name\br
nested-name-specifier \keyword{template} simple-template-id\br
decltype-specifier
computed-type-specifier
\end{bnf}

\indextext{specifier access|see{access specifier}}%
Expand Down

0 comments on commit d17a03d

Please sign in to comment.