This is the mail archive of the gcc-bugs@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]

[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 14:24:27 UTC ---
Author: jason
Date: Mon Sep 10 14:24:19 2012
New Revision: 191146

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191146
Log:
    PR c++/54506
    * decl.c (move_signature_fn_p): Split out from move_fn_p.
    * method.c (process_subob_fn): Use it.
    * cp-tree.h: Declare it.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/implicit14.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/cp-tree.h
    branches/gcc-4_7-branch/gcc/cp/decl.c
    branches/gcc-4_7-branch/gcc/cp/method.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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