File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1870
1870
a base class copy/move assignment operator is always hidden
1871
1871
by the corresponding assignment operator of a derived class\iref {over.ass }.
1872
1872
\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}.
1878
1880
\end {note }
1879
1881
1880
1882
\pnum
You can’t perform that action at this time.
0 commit comments