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 19691969in that \grammarterm {attribute-specifier-seq} are thereafter considered attributes of the
19701970enumeration whenever it is named.
19711971A \tcode {:} following
1972- `` \tcode {enum} \grammarterm {nested-name-specifier\opt } \grammarterm {identifier}''
1972+ `` \tcode {enum} \grammarterm {nested-name-specifier} \opt { } \grammarterm {identifier}''
19731973within the \grammarterm {decl-specifier-seq} of a \grammarterm {member-declaration}
19741974is parsed as part of an \grammarterm {enum-base}.
19751975\begin {note } This resolves a potential ambiguity between the declaration of an enumeration
24732473whose \grammarterm {class-head-name} (Clause \ref {class }) or
24742474\grammarterm {enum-head-name}~(\ref {dcl.enum }) is an \grammarterm {identifier}, or
24752475whose \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
24772477that is an \grammarterm {opaque-enum-declaration},
24782478declares (or redeclares) its \grammarterm {unqualified-id} or
24792479\grammarterm {identifier} as a member of \tcode {N}.
Original file line number Diff line number Diff line change 432432
433433where
434434\tcode {T}
435- is of the form \grammarterm {attribute-specifier-seq\opt }
435+ is of the form \grammarterm {attribute-specifier-seq} \opt { }
436436\grammarterm {decl-specifier-seq}
437437and
438438\tcode {D}
474474
475475\pnum
476476In a declaration
477- \grammarterm {attribute-specifier-seq\opt }
477+ \grammarterm {attribute-specifier-seq} \opt { }
478478\tcode {T}
479479\tcode {D}
480480where
12581258\tcode {noexcept}\opt
12591259function of
12601260(\grammarterm {parameter-declaration-clause} )
1261- \grammarterm {cv-qualifier-seq\opt } \grammarterm {ref-qualifier\opt }
1261+ \grammarterm {cv-qualifier-seq} \opt { } \grammarterm {ref-qualifier} \opt { }
12621262returning \tcode {T}'' ,
12631263where the optional \tcode {noexcept} is present
12641264if and only if
Original file line number Diff line number Diff line change 19161916
19171917\item Otherwise, if \tcode {E1.E2} refers to a non-static member
19181918function 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
19201920\tcode {E1.E2} is a prvalue. The expression designates a
19211921non-static member function. The expression can be used only as the
19221922left-hand operand of a member function call~(\ref {class.mfct }).
Original file line number Diff line number Diff line change 1011310113A sequence of elements that identify
1011410114the location of a file within a filesystem.
1011510115The elements are the
10116- \grammarterm {root-name\opt },
10117- \grammarterm {root-directory\opt },
10116+ \grammarterm {root-name} \opt { },
10117+ \grammarterm {root-directory} \opt { },
1011810118and an optional sequence of filenames.
1011910119The maximum number of elements in the sequence is operating system dependent.
1012010120
You can’t perform that action at this time.
0 commit comments