Skip to content

Commit 692ea70

Browse files
committed
manual fixes for \opt{} removal
1 parent dba90a8 commit 692ea70

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
@@ -1282,7 +1282,7 @@
12821282
a type to be deduced~(\ref{dcl.spec.auto}).
12831283
\indextext{deduction!class template arguments}%
12841284
A \grammarterm{type-specifier} of the form
1285-
\tcode{typename}\opt{} \grammarterm{nested-name-specifier}\opt{} \grammarterm{template-name}
1285+
\opt{\tcode{typename}} \opt{\grammarterm{nested-name-specifier}} \grammarterm{template-name}
12861286
is a placeholder for
12871287
a deduced class type~(\ref{dcl.type.class.deduct}).
12881288
The \grammarterm{template-name} shall name a class template

source/declarators.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@
12531253
\tcode{D}
12541254
is
12551255
``\placeholder{derived-declarator-type-list}
1256-
\tcode{noexcept}\opt{}
1256+
\opt{\tcode{noexcept}}
12571257
function of
12581258
(\grammarterm{parameter-declaration-clause})
12591259
\opt{\grammarterm{cv-qualifier-seq}} \opt{\grammarterm{ref-qualifier}}
@@ -1291,10 +1291,10 @@
12911291
\tcode{D}
12921292
is
12931293
``\placeholder{derived-declarator-type-list}
1294-
\tcode{noexcept}\opt{}
1294+
\opt{\tcode{noexcept}}
12951295
function of
12961296
(\grammarterm{parameter-declaration-clause})
1297-
\grammarterm{cv-qualifier-seq}\opt{} \grammarterm{ref-qualifier}\opt{}
1297+
\opt{\grammarterm{cv-qualifier-seq}} \opt{\grammarterm{ref-qualifier}}
12981298
returning \tcode{U}'',
12991299
where \tcode{U} is the type specified by
13001300
the \grammarterm{trailing-return-type}, and
@@ -2424,7 +2424,7 @@
24242424

24252425
\begin{bnf}
24262426
\nontermdef{braced-init-list}\br
2427-
\terminal{\{} initializer-list \terminal{,\opt{}} \terminal{\}}\br
2427+
\terminal{\{} initializer-list \opt{\terminal{,}} \terminal{\}}\br
24282428
\terminal{\{} \terminal{\}}
24292429
\end{bnf}
24302430

source/expressions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,8 +960,8 @@
960960

961961
\begin{bnf}
962962
\nontermdef{capture-list}\br
963-
capture \terminal{...\opt{}}\br
964-
capture-list \terminal{,} capture \terminal{...\opt{}}
963+
capture \opt{\terminal{...}}\br
964+
capture-list \terminal{,} capture \opt{\terminal{...}}
965965
\end{bnf}
966966

967967
\begin{bnf}

source/iostreams.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10678,8 +10678,8 @@
1067810678

1067910679
\begin{ncbnf}
1068010680
\nontermdef{directory-separator}\br
10681-
preferred-separator directory-separator\opt\br
10682-
fallback-separator directory-separator\opt
10681+
preferred-separator \opt{directory-separator}\br
10682+
fallback-separator \opt{directory-separator}
1068310683
\end{ncbnf}
1068410684

1068510685
\begin{ncbnf}

0 commit comments

Comments
 (0)