Skip to content

Commit

Permalink
CWG2653 Can an explicit object parameter have a default argument?
Browse files Browse the repository at this point in the history
Fixes NB GB 051 (C++23 CD).
  • Loading branch information
burblebee authored and tkoeppe committed Nov 23, 2022
1 parent 255d8d1 commit 00b90f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3387,9 +3387,9 @@
\begin{bnf}
\nontermdef{parameter-declaration}\br
\opt{attribute-specifier-seq} \opt{\keyword{this}} decl-specifier-seq declarator\br
\opt{attribute-specifier-seq} \opt{\keyword{this}} decl-specifier-seq declarator \terminal{=} initializer-clause\br
\opt{attribute-specifier-seq} decl-specifier-seq declarator \terminal{=} initializer-clause\br
\opt{attribute-specifier-seq} \opt{\keyword{this}} decl-specifier-seq \opt{abstract-declarator}\br
\opt{attribute-specifier-seq} \opt{\keyword{this}} decl-specifier-seq \opt{abstract-declarator} \terminal{=} initializer-clause
\opt{attribute-specifier-seq} decl-specifier-seq \opt{abstract-declarator} \terminal{=} initializer-clause
\end{bnf}

The optional \grammarterm{attribute-specifier-seq} in a \grammarterm{parameter-declaration}
Expand Down

0 comments on commit 00b90f3

Please sign in to comment.