Skip to content

Commit be18ecc

Browse files
jensmaurertkoeppe
authored andcommitted
[class.derived.general] Restore accidental reversal of P2662R3 change
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.
1 parent 513635b commit be18ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/classes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3381,7 +3381,7 @@
33813381
\nontermdef{class-or-decltype}\br
33823382
\opt{nested-name-specifier} type-name\br
33833383
nested-name-specifier \keyword{template} simple-template-id\br
3384-
decltype-specifier
3384+
computed-type-specifier
33853385
\end{bnf}
33863386

33873387
\indextext{specifier access|see{access specifier}}%

0 commit comments

Comments
 (0)