Skip to content

Commit 143e49c

Browse files
committed
More manual fixes for \opt-as-suffix removal
1 parent 01a5e53 commit 143e49c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3328,7 +3328,7 @@
33283328

33293329
\begin{bnf}
33303330
\nontermdef{asm-definition}\br
3331-
attribute-specifier-seq\opt{} \terminal{asm (} string-literal \terminal{) ;}
3331+
\opt{attribute-specifier-seq} \terminal{asm (} string-literal \terminal{) ;}
33323332
\end{bnf}
33333333

33343334
The \tcode{asm} declaration is conditionally-supported; its meaning is

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@
16641664

16651665
\begin{bnf}
16661666
\nontermdef{type-requirement}\br
1667-
\terminal{typename} nested-name-specifier\opt type-name \terminal{;}
1667+
\terminal{typename} \opt{nested-name-specifier} type-name \terminal{;}
16681668
\end{bnf}
16691669

16701670
\pnum

source/templates.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
\begin{bnf}
2323
\nontermdef{template-head}\br
24-
\terminal{template} \terminal{<} template-parameter-list \terminal{>} requires-clause\opt
24+
\terminal{template} \terminal{<} template-parameter-list \terminal{>} \opt{requires-clause}
2525
\end{bnf}
2626

2727
\begin{bnf}
@@ -258,19 +258,19 @@
258258

259259
\begin{bnf}
260260
\nontermdef{constrained-parameter}\br
261-
qualified-concept-name \terminal{...} identifier\opt\br
262-
qualified-concept-name identifier\opt{} default-template-argument\opt
261+
qualified-concept-name \terminal{...} \opt{identifier}\br
262+
qualified-concept-name \opt{identifier} \opt{default-template-argument}
263263
\end{bnf}
264264

265265
\begin{bnf}
266266
\nontermdef{qualified-concept-name}\br
267-
nested-name-specifier\opt{} concept-name\br
268-
nested-name-specifier\opt{} partial-concept-id
267+
\opt{nested-name-specifier} concept-name\br
268+
\opt{nested-name-specifier} partial-concept-id
269269
\end{bnf}
270270

271271
\begin{bnf}
272272
\nontermdef{partial-concept-id}\br
273-
concept-name \terminal{<} template-argument-list\opt{} \terminal{>}
273+
concept-name \terminal{<} \opt{template-argument-list} \terminal{>}
274274
\end{bnf}
275275

276276
\begin{bnf}

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14678,7 +14678,7 @@
1467814678
\remarks This deduction guide participates in overload resolution only if
1467914679
\tcode{\&F::operator()} is well-formed when treated as an unevaluated operand.
1468014680
In that case, if \tcode{decltype(\&F::operator())} is of the form
14681-
\tcode{R(G::*)(A...)}~\cv{}~\tcode{\&\opt{}~noexcept\opt}
14681+
\tcode{R(G::*)(A...)}~\cv{}~\tcode{\opt{\&}~\opt{noexcept}}
1468214682
for a class type \tcode{G}, then the deduced type is \tcode{function<R(A...)>}.
1468314683

1468414684
\pnum

0 commit comments

Comments
 (0)