Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@
same type.

\pnum
Each \grammarterm{decl-specifier}
shall appear at most once in a complete \grammarterm{decl-specifier-seq},
except that \tcode{long} may appear twice.
At most one of each of the \grammarterm{decl-specifier}s
\keyword{friend}, \keyword{typedef}, or \keyword{inline}
shall appear in a \grammarterm{decl-specifier-seq}.
At most one of
the \keyword{constexpr}, \keyword{consteval}, and \keyword{constinit} keywords
shall appear in a \grammarterm{decl-specifier-seq}.
Expand Down Expand Up @@ -518,6 +518,9 @@
A
\grammarterm{function-specifier}
can be used only in a function declaration.
At most one \grammarterm{explicit-specifier} and
at most one \keyword{virtual} keyword shall appear in
a \grammarterm{decl-specifier-seq}.

\begin{bnf}
\nontermdef{function-specifier}\br
Expand Down