This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r269442 - in /trunk/gcc: cp/ChangeLog cp/class....


Author: jason
Date: Wed Mar  6 20:28:47 2019
New Revision: 269442

URL: https://gcc.gnu.org/viewcvs?rev=269442&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:
    trunk/gcc/testsuite/g++.dg/cpp0x/implicit16.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]