|
532 | 532 | \grammarterm{storage-class-specifier} |
533 | 533 | appears in a \grammarterm{decl-specifier-seq}, there can be no |
534 | 534 | \tcode{typedef} specifier in the same \grammarterm{decl-specifier-seq} and |
535 | | -the \grammarterm{init-declarator-list} or \grammarterm{member-declarator-list} |
536 | | -of the declaration shall not be |
537 | | -empty (except for an anonymous union declared in a namespace scope\iref{class.union.anon}). The |
538 | | -\grammarterm{storage-class-specifier} applies to the name declared by each |
| 535 | +the \grammarterm{init-declarator-list} of the \grammarterm{simple-declaration} or |
| 536 | +the \grammarterm{member-declarator-list} of the \grammarterm{member-declaration} |
| 537 | +shall not be empty (except for an anonymous union declared in a namespace scope\iref{class.union.anon}). |
| 538 | +The \grammarterm{storage-class-specifier} applies to the name declared by each |
539 | 539 | \grammarterm{init-declarator} in the list and not to any names declared by |
540 | 540 | other specifiers. |
541 | 541 | \begin{note} |
|
1258 | 1258 | There are two \grammarterm{cv-qualifier}{s}, \keyword{const} and |
1259 | 1259 | \tcode{volatile}. Each \grammarterm{cv-qualifier} shall appear at most once in |
1260 | 1260 | a \grammarterm{cv-qualifier-seq}. If a \grammarterm{cv-qualifier} appears in a |
1261 | | -\grammarterm{decl-specifier-seq}, the \grammarterm{init-declarator-list} |
1262 | | -or \grammarterm{member-declarator-list} of |
1263 | | -the declaration shall not be empty. |
| 1261 | +\grammarterm{decl-specifier-seq}, |
| 1262 | +the \grammarterm{init-declarator-list} of the \grammarterm{simple-declaration} or |
| 1263 | +the \grammarterm{member-declarator-list} of the \grammarterm{member-declaration} |
| 1264 | +shall not be empty. |
1264 | 1265 | \begin{note} |
1265 | 1266 | \ref{basic.type.qualifier} and \ref{dcl.fct} describe how cv-qualifiers affect object and |
1266 | 1267 | function types. |
|
2409 | 2410 | \end{note} |
2410 | 2411 |
|
2411 | 2412 | \pnum |
2412 | | -Each \grammarterm{init-declarator} or \grammarterm{member-declarator} |
2413 | | -in a declaration is analyzed separately as if it were in a declaration by itself. |
| 2413 | +Each \grammarterm{init-declarator} of a \grammarterm{simple-declaration} |
| 2414 | +or \grammarterm{member-declarator} of a \grammarterm{member-declaration} |
| 2415 | +is analyzed separately as if it were in a |
| 2416 | +\grammarterm{simple-declaration} or \grammarterm{member-declaration} by itself. |
2414 | 2417 | \begin{note} |
2415 | 2418 | A declaration with several declarators is usually equivalent to the corresponding |
2416 | 2419 | sequence of declarations each with a single declarator. That is, |
|
2945 | 2948 | specifier |
2946 | 2949 | or an \grammarterm{explicit-specifier} |
2947 | 2950 | applies directly to each \grammarterm{declarator-id} |
2948 | | -in a declaration; |
| 2951 | +in a \grammarterm{simple-declaration} or \grammarterm{member-declaration}; |
2949 | 2952 | the type specified for each \grammarterm{declarator-id} depends on |
2950 | 2953 | both the \grammarterm{decl-specifier-seq} and its \grammarterm{declarator}. |
2951 | 2954 |
|
|
0 commit comments