File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 3681
3681
\end {example }
3682
3682
3683
3683
\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.
3689
3688
\begin {example }
3690
3689
3691
3690
\begin {codeblock }
3695
3694
\end {codeblock }
3696
3695
\end {example }
3697
3696
3698
- \begin {itemize }
3699
- \item If the initializer expression
3697
+ \item Otherwise, if the initializer expression
3700
3698
3701
3699
\begin {itemize }
3702
3700
\item is an rvalue (but not a bit-field) or function lvalue and
3807
3805
\end {codeblock }
3808
3806
\end {example }
3809
3807
\end {itemize }
3810
- \end {itemize }
3811
3808
3812
3809
In all cases except the last
3813
3810
(i.e., implicitly converting the initializer expression
You can’t perform that action at this time.
0 commit comments