Skip to content

Commit

Permalink
[over.ass] Update the remaining problematic stable label
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisdairM committed Jan 15, 2025
1 parent 2d43ab3 commit a05758b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@

\pnum
\begin{note}
Class objects can be assigned\iref{over.ass,class.copy.assign},
Class objects can be assigned\iref{over.assign,class.copy.assign},
passed as arguments to functions\iref{dcl.init,class.copy.ctor}, and
returned by functions (except objects of classes for which copying or moving has
been restricted; see~\ref{dcl.fct.def.delete} and \ref{class.access}).
Expand Down Expand Up @@ -1804,7 +1804,7 @@
Because a copy/move assignment operator is implicitly declared for a class
if not declared by the user,
a base class copy/move assignment operator is always hidden
by the corresponding assignment operator of a derived class\iref{over.ass}.
by the corresponding assignment operator of a derived class\iref{over.assign}.
\begin{note}
A \grammarterm{using-declaration} in a derived class \tcode{C}
that names an assignment operator from a base class
Expand Down Expand Up @@ -5223,7 +5223,7 @@
\end{example}
\begin{note}
\indextext{initialization!overloaded assignment and}%
Overloading of the assignment operator\iref{over.ass}
Overloading of the assignment operator\iref{over.assign}
has no effect on initialization.
\end{note}

Expand Down
2 changes: 1 addition & 1 deletion source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7413,7 +7413,7 @@
\item
an assignment to an object of class type, in which case $B$
is passed as the argument to the assignment operator function selected by
overload resolution\iref{over.ass,over.match}.
overload resolution\iref{over.assign,over.match}.
\end{itemize}

\begin{example}
Expand Down
6 changes: 3 additions & 3 deletions source/overloading.tex
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@
\hdstyle{Subclause} & \hdstyle{Expression} & \hdstyle{As member function} & \hdstyle{As non-member function} \\ \capsep
\ref{over.unary} & \tcode{@a} & \tcode{(a).\keyword{operator}@ (\,)} & \tcode{\keyword{operator}@(a)} \\
\ref{over.binary} & \tcode{a@b} & \tcode{(a).\keyword{operator}@ (b)} & \tcode{\keyword{operator}@(a, b)} \\
\ref{over.ass} & \tcode{a=b} & \tcode{(a).\keyword{operator}= (b)} & \\
\ref{over.assign} & \tcode{a=b} & \tcode{(a).\keyword{operator}= (b)} & \\
\ref{over.sub} & \tcode{a[b]} & \tcode{(a).\keyword{operator}[](b)} & \\
\ref{over.ref} & \tcode{a->} & \tcode{(a).\keyword{operator}->(\,)} & \\
\ref{over.inc} & \tcode{a@} & \tcode{(a).\keyword{operator}@ (0)} & \tcode{\keyword{operator}@(a, 0)} \\
Expand Down Expand Up @@ -3403,7 +3403,7 @@
described in the rest of \ref{over.oper}.

\pnum
Operators not mentioned explicitly in subclauses~\ref{over.ass} through~\ref{over.inc}
Operators not mentioned explicitly in subclauses~\ref{over.assign} through~\ref{over.inc}
act as ordinary unary and binary
operators obeying the rules of~\ref{over.unary} or~\ref{over.binary}.%
\indextext{overloading!resolution!best viable function|)}%
Expand Down Expand Up @@ -3484,7 +3484,7 @@
a relational operator function, or
a three-way comparison operator function.

\rSec3[over.ass]{Simple assignment}
\rSec3[over.assign]{Simple assignment}
\indextext{assignment operator!overloaded}%
\indextext{overloading!assignment operator}

Expand Down
1 change: 1 addition & 0 deletions source/xrefdelta.tex
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@

% https://github.com/cplusplus/draft/pull/7524
\movedxref{expr.ass}{expr.assign}
\movedxref{over.ass}{over.assign}

%%% Deprecated features.
%%% Example:
Expand Down

0 comments on commit a05758b

Please sign in to comment.