File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 150
150
151
151
\pnum
152
152
\begin {note }
153
- Class objects can be assigned\iref {over.ass ,class.copy.assign },
153
+ Class objects can be assigned\iref {over.assign ,class.copy.assign },
154
154
passed as arguments to functions\iref {dcl.init,class.copy.ctor }, and
155
155
returned by functions (except objects of classes for which copying or moving has
156
156
been restricted; see~\ref {dcl.fct.def.delete } and \ref {class.access }).
1804
1804
Because a copy/move assignment operator is implicitly declared for a class
1805
1805
if not declared by the user,
1806
1806
a base class copy/move assignment operator is always hidden
1807
- by the corresponding assignment operator of a derived class\iref {over.ass }.
1807
+ by the corresponding assignment operator of a derived class\iref {over.assign }.
1808
1808
\begin {note }
1809
1809
A \grammarterm {using-declaration} in a derived class \tcode {C}
1810
1810
that names an assignment operator from a base class
5223
5223
\end {example }
5224
5224
\begin {note }
5225
5225
\indextext {initialization!overloaded assignment and}%
5226
- Overloading of the assignment operator\iref {over.ass }
5226
+ Overloading of the assignment operator\iref {over.assign }
5227
5227
has no effect on initialization.
5228
5228
\end {note }
5229
5229
Original file line number Diff line number Diff line change 7413
7413
\item
7414
7414
an assignment to an object of class type, in which case $ B$
7415
7415
is passed as the argument to the assignment operator function selected by
7416
- overload resolution\iref {over.ass ,over.match }.
7416
+ overload resolution\iref {over.assign ,over.match }.
7417
7417
\end {itemize }
7418
7418
7419
7419
\begin {example }
Original file line number Diff line number Diff line change 676
676
\hdstyle {Subclause} & \hdstyle {Expression} & \hdstyle {As member function} & \hdstyle {As non-member function} \\ \capsep
677
677
\ref {over.unary } & \tcode {@a} & \tcode {(a).\keyword {operator}@ (\, )} & \tcode {\keyword {operator}@(a)} \\
678
678
\ref {over.binary } & \tcode {a@b} & \tcode {(a).\keyword {operator}@ (b)} & \tcode {\keyword {operator}@(a, b)} \\
679
- \ref {over.ass } & \tcode {a=b} & \tcode {(a).\keyword {operator}= (b)} & \\
679
+ \ref {over.assign } & \tcode {a=b} & \tcode {(a).\keyword {operator}= (b)} & \\
680
680
\ref {over.sub } & \tcode {a[b]} & \tcode {(a).\keyword {operator}[](b)} & \\
681
681
\ref {over.ref } & \tcode {a->} & \tcode {(a).\keyword {operator}->(\, )} & \\
682
682
\ref {over.inc } & \tcode {a@} & \tcode {(a).\keyword {operator}@ (0)} & \tcode {\keyword {operator}@(a, 0)} \\
3402
3402
described in the rest of \ref {over.oper }.
3403
3403
3404
3404
\pnum
3405
- Operators not mentioned explicitly in subclauses~\ref {over.ass } through~\ref {over.inc }
3405
+ Operators not mentioned explicitly in subclauses~\ref {over.assign } through~\ref {over.inc }
3406
3406
act as ordinary unary and binary
3407
3407
operators obeying the rules of~\ref {over.unary } or~\ref {over.binary }.%
3408
3408
\indextext {overloading!resolution!best viable function|)}%
3483
3483
a relational operator function, or
3484
3484
a three-way comparison operator function.
3485
3485
3486
- \rSec 3[over.ass ]{Simple assignment}
3486
+ \rSec 3[over.assign ]{Simple assignment}
3487
3487
\indextext {assignment operator!overloaded}%
3488
3488
\indextext {overloading!assignment operator}
3489
3489
Original file line number Diff line number Diff line change 103
103
104
104
% https://github.com/cplusplus/draft/pull/7524
105
105
\movedxref {expr.ass }{expr.assign}
106
+ \movedxref {over.ass }{over.assign}
106
107
107
108
% %% Deprecated features.
108
109
% %% Example:
You can’t perform that action at this time.
0 commit comments