method.c (implicitly_declare_fn): Handle deleted lambda default ctor and copy assop...
authorJason Merrill <jason@redhat.com>
Fri, 10 Oct 2014 20:27:07 +0000 (16:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Oct 2014 20:27:07 +0000 (16:27 -0400)
commitc6250f73ff88d48a49b377cfd0f4c4fe1779ea2d
tree19ab2a4528eee92a24e1d666b1c8a27e5edeb488
parentcfb71cadfd586194ba65150a1d535b8ad4229d22
method.c (implicitly_declare_fn): Handle deleted lambda default ctor and copy assop here.

* method.c (implicitly_declare_fn): Handle deleted lambda default
ctor and copy assop here.
* class.c (check_bases_and_members): Not here.
(add_implicitly_declared_members): And don't set
CLASSTYPE_LAZY_MOVE_ASSIGN.

From-SVN: r216105
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/method.c
gcc/testsuite/g++.dg/ext/is_trivially_constructible4.C [new file with mode: 0644]