File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1969
1969
in that \grammarterm {attribute-specifier-seq} are thereafter considered attributes of the
1970
1970
enumeration whenever it is named.
1971
1971
A \tcode {:} following
1972
- `` \tcode {enum} \grammarterm {nested-name-specifier\opt } \grammarterm {identifier}''
1972
+ `` \tcode {enum} \grammarterm {nested-name-specifier} \opt { } \grammarterm {identifier}''
1973
1973
within the \grammarterm {decl-specifier-seq} of a \grammarterm {member-declaration}
1974
1974
is parsed as part of an \grammarterm {enum-base}.
1975
1975
\begin {note } This resolves a potential ambiguity between the declaration of an enumeration
2473
2473
whose \grammarterm {class-head-name} (Clause \ref {class }) or
2474
2474
\grammarterm {enum-head-name}~(\ref {dcl.enum }) is an \grammarterm {identifier}, or
2475
2475
whose \grammarterm {elaborated-type-specifier} is of the form \grammarterm {class-key}
2476
- \grammarterm {attribute-specifier-seq\opt } \grammarterm {identifier}~(\ref {dcl.type.elab }), or
2476
+ \grammarterm {attribute-specifier-seq} \opt { } \grammarterm {identifier}~(\ref {dcl.type.elab }), or
2477
2477
that is an \grammarterm {opaque-enum-declaration},
2478
2478
declares (or redeclares) its \grammarterm {unqualified-id} or
2479
2479
\grammarterm {identifier} as a member of \tcode {N}.
Original file line number Diff line number Diff line change 432
432
433
433
where
434
434
\tcode {T}
435
- is of the form \grammarterm {attribute-specifier-seq\opt }
435
+ is of the form \grammarterm {attribute-specifier-seq} \opt { }
436
436
\grammarterm {decl-specifier-seq}
437
437
and
438
438
\tcode {D}
474
474
475
475
\pnum
476
476
In a declaration
477
- \grammarterm {attribute-specifier-seq\opt }
477
+ \grammarterm {attribute-specifier-seq} \opt { }
478
478
\tcode {T}
479
479
\tcode {D}
480
480
where
1258
1258
\tcode {noexcept}\opt
1259
1259
function of
1260
1260
(\grammarterm {parameter-declaration-clause} )
1261
- \grammarterm {cv-qualifier-seq\opt } \grammarterm {ref-qualifier\opt }
1261
+ \grammarterm {cv-qualifier-seq} \opt { } \grammarterm {ref-qualifier} \opt { }
1262
1262
returning \tcode {T}'' ,
1263
1263
where the optional \tcode {noexcept} is present
1264
1264
if and only if
Original file line number Diff line number Diff line change 1916
1916
1917
1917
\item Otherwise, if \tcode {E1.E2} refers to a non-static member
1918
1918
function and the type of \tcode {E2} is `` function of
1919
- parameter-type-list \cvqual {cv} \grammarterm {ref-qualifier\opt } returning \tcode {T}'' , then
1919
+ parameter-type-list \cvqual {cv} \grammarterm {ref-qualifier} \opt { } returning \tcode {T}'' , then
1920
1920
\tcode {E1.E2} is a prvalue. The expression designates a
1921
1921
non-static member function. The expression can be used only as the
1922
1922
left-hand operand of a member function call~(\ref {class.mfct }).
Original file line number Diff line number Diff line change 10113
10113
A sequence of elements that identify
10114
10114
the location of a file within a filesystem.
10115
10115
The elements are the
10116
- \grammarterm {root-name\opt },
10117
- \grammarterm {root-directory\opt },
10116
+ \grammarterm {root-name} \opt { },
10117
+ \grammarterm {root-directory} \opt { },
10118
10118
and an optional sequence of filenames.
10119
10119
The maximum number of elements in the sequence is operating system dependent.
10120
10120
You can’t perform that action at this time.
0 commit comments