r269509 - in /branches/gcc-8-branch/gcc: cp/Cha...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Mar 8 21:39:00 GMT 2019
Author: jason
Date: Fri Mar 8 21:39:58 2019
New Revision: 269509
URL: https://gcc.gnu.org/viewcvs?rev=269509&root=gcc&view=rev
Log:
PR c++/89381 - implicit copy and using-declaration.
Here the used base<int>::operator= gets into the list of foo's bindings for
operator=, but it shouldn't make the copy ctor deleted.
* class.c (classtype_has_move_assign_or_move_ctor_p): Don't consider
op= brought in by a using-declaration.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/implicit16.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/class.c
More information about the Gcc-cvs
mailing list