Skip to content

Commit 03bcd8d

Browse files
jensmaurerzygoloid
authored andcommitted
[expr.ass] Remove mention of class types.
1 parent 90a29c0 commit 03bcd8d

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

source/expressions.tex

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6686,23 +6686,10 @@
66866686

66876687
\pnum
66886688
\indextext{assignment!conversion by}%
6689-
If the left operand is not of class type, the expression is implicitly
6689+
The expression is implicitly
66906690
converted\iref{conv} to the cv-unqualified type of the left
66916691
operand.
66926692

6693-
\pnum
6694-
\indextext{class object!assignment to}%
6695-
\indextext{type!incomplete}%
6696-
If the left operand is of class type, the class shall be complete.
6697-
Assignment to objects of a class is defined by the copy/move assignment
6698-
operator~(\ref{class.copy.assign}, \ref{over.ass}).
6699-
6700-
\pnum
6701-
\begin{note}
6702-
For class objects, assignment is not in general the same as
6703-
initialization~(\ref{dcl.init}, \ref{class.copy.ctor}, \ref{class.copy.assign}, \ref{class.init}).
6704-
\end{note}
6705-
67066693
\pnum
67076694
\indextext{reference!assignment to}%
67086695
When the left operand of an assignment operator
@@ -6712,8 +6699,7 @@
67126699

67136700
\pnum
67146701
A simple assignment whose left operand is of
6715-
a \tcode{volatile}-qualified non-class type
6716-
is deprecated\iref{depr.volatile.type}
6702+
a \tcode{volatile}-qualified type is deprecated\iref{depr.volatile.type}
67176703
unless the assignment is either a discarded-value expression or
67186704
appears in an unevaluated context.
67196705

0 commit comments

Comments
 (0)