Skip to content

Commit 560e5f5

Browse files
committed
[dcl.init.ref] Remove an unnecessary level of bullet nesting.
1 parent b4d7e74 commit 560e5f5

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

source/declarators.tex

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3681,11 +3681,10 @@
36813681
\end{example}
36823682

36833683
\item
3684-
Otherwise, the reference shall be an lvalue reference to a non-volatile
3685-
const type (i.e.,
3686-
\cvqual{cv1}
3687-
shall be
3688-
\tcode{const}), or the reference shall be an rvalue reference.
3684+
Otherwise,
3685+
if the reference is an lvalue reference to a
3686+
type that is not const-qualified or is volatile-qualified,
3687+
the program is ill-formed.
36893688
\begin{example}
36903689

36913690
\begin{codeblock}
@@ -3695,8 +3694,7 @@
36953694
\end{codeblock}
36963695
\end{example}
36973696

3698-
\begin{itemize}
3699-
\item If the initializer expression
3697+
\item Otherwise, if the initializer expression
37003698

37013699
\begin{itemize}
37023700
\item is an rvalue (but not a bit-field) or function lvalue and
@@ -3807,7 +3805,6 @@
38073805
\end{codeblock}
38083806
\end{example}
38093807
\end{itemize}
3810-
\end{itemize}
38113808

38123809
In all cases except the last
38133810
(i.e., implicitly converting the initializer expression

0 commit comments

Comments
 (0)