Skip to content

Commit 741c207

Browse files
authored
[class.copy.assign] Fix phrasing in note to avoid 'could'. (#4418)
1 parent 3d14247 commit 741c207

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source/classes.tex

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,11 +1870,13 @@
18701870
a base class copy/move assignment operator is always hidden
18711871
by the corresponding assignment operator of a derived class\iref{over.ass}.
18721872
\begin{note}
1873-
A \grammarterm{using-declaration} that names an assignment operator
1874-
with a parameter type that could be that of a
1875-
copy/move assignment operator for a
1876-
derived class does not suppress the implicit declaration of the derived class
1877-
operator\iref{namespace.udecl}.
1873+
A \grammarterm{using-declaration} in a derived class \tcode{C}
1874+
that names an assignment operator from a base class
1875+
never suppresses the implicit declaration of
1876+
an assignment operator of \tcode{C},
1877+
even if the base class assignment operator would be
1878+
a copy or move assignment operator
1879+
if declared as a member of \tcode{C}.
18781880
\end{note}
18791881

18801882
\pnum

0 commit comments

Comments
 (0)