|
5882 | 5882 | \begin{note}
|
5883 | 5883 | List-initialization can be used
|
5884 | 5884 | \begin{itemize}
|
5885 |
| -\item as the initializer in a variable definition\iref{dcl.init} |
5886 |
| -\item as the initializer in a \grammarterm{new-expression}\iref{expr.new} |
5887 |
| -\item in a \tcode{return} statement\iref{stmt.return} |
5888 |
| -\item as a \grammarterm{for-range-initializer}\iref{stmt.iter} |
5889 |
| -\item as a function argument\iref{expr.call} |
5890 |
| -\item as a template argument\iref{temp.arg.nontype} |
5891 |
| -\item as a subscript\iref{expr.sub} |
5892 |
| -\item as an argument to a constructor invocation\iref{dcl.init,expr.type.conv} |
5893 |
| -\item as an initializer for a non-static data member\iref{class.mem} |
5894 |
| -\item in a \grammarterm{mem-initializer}\iref{class.base.init} |
5895 |
| -\item on the right-hand side of an assignment\iref{expr.ass} |
| 5885 | +\item as the initializer in a variable definition\iref{dcl.init}, |
| 5886 | +\item as the initializer in a \grammarterm{new-expression}\iref{expr.new}, |
| 5887 | +\item in a \tcode{return} statement\iref{stmt.return}, |
| 5888 | +\item as a \grammarterm{for-range-initializer}\iref{stmt.iter}, |
| 5889 | +\item as a function argument\iref{expr.call}, |
| 5890 | +\item as a template argument\iref{temp.arg.nontype}, |
| 5891 | +\item as a subscript\iref{expr.sub}, |
| 5892 | +\item as an argument to a constructor invocation\iref{dcl.init,expr.type.conv}, |
| 5893 | +\item as an initializer for a non-static data member\iref{class.mem}, |
| 5894 | +\item in a \grammarterm{mem-initializer}\iref{class.base.init}, or |
| 5895 | +\item on the right-hand side of an assignment\iref{expr.ass}. |
5896 | 5896 | \end{itemize}
|
5897 | 5897 |
|
5898 | 5898 | \begin{example}
|
|
0 commit comments