File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 40
40
module *m2; // variable declaration
41
41
42
42
class import {};
43
- import j1; // was variable declaration; now \grammarterm {import-declaration}
43
+ import j1; // was variable declaration; now \grammarterm {module- import-declaration}
44
44
::import j2; // variable declaration
45
45
\end {codeblock }
46
46
\end {example }
Original file line number Diff line number Diff line change 6384
6384
and if a global allocation function is selected,
6385
6385
the \tcode {::operator new(size_t, nothrow_t)} form is used.
6386
6386
The allocation function used in this case shall have a non-throwing
6387
- \grammarterm {noexcept-specification }.
6387
+ \grammarterm {noexcept-specifier }.
6388
6388
If the allocation function returns \tcode {nullptr}, the coroutine returns
6389
6389
control to the caller of the coroutine and the return value is obtained by a
6390
6390
call to \tcode {T::get_return_object_on_allocation_failure()}, where \tcode {T}
Original file line number Diff line number Diff line change 4365
4365
\grammarterm {function-body} outside of a \grammarterm {handler}\iref {except.pre }.
4366
4366
In a \grammarterm {declaration-statement} or in the
4367
4367
\grammarterm {simple-declaration} (if any)
4368
- of a \grammarterm {for- init-statement}, an \grammarterm {await-expression}
4368
+ of an \grammarterm {init-statement}, an \grammarterm {await-expression}
4369
4369
shall appear only in an \grammarterm {initializer} of that
4370
4370
\grammarterm {declaration-statement} or \grammarterm {simple-declaration}.
4371
4371
An \grammarterm {await-expression} shall not appear in a
Original file line number Diff line number Diff line change 673
673
\grammarterm {alias-declaration},
674
674
\tcode {typedef} declaration,
675
675
\grammarterm {using-declaration}, or
676
- \grammarterm {namespace-alias-declaration }
676
+ \grammarterm {namespace-alias-definition }
677
677
is replaced by the declarations they name
678
678
prior to this determination,
679
679
Original file line number Diff line number Diff line change 2720
2720
};
2721
2721
}
2722
2722
2723
- foo(); // \tcode {xs} contains zero \grammarterm {init-captures}
2723
+ foo(); // \tcode {xs} contains zero \grammarterm {init-capture}s
2724
2724
foo(1); // \tcode {xs} contains one \grammarterm {init-capture}
2725
2725
\end {codeblock }
2726
2726
\end {example }
You can’t perform that action at this time.
0 commit comments