-
- Downloads
re PR c++/46736 ([c++0x] move constructor is not implicitly deleted when it should be)
PR c++/46736 * decl.c (cp_finish_decl): Complain about an implicitly deleted method defaulted outside the class. * method.c (maybe_explain_implicit_delete): Don't check DECL_INITIAL. From-SVN: r167601
Showing
- gcc/cp/ChangeLog 7 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/decl.c 3 additions, 1 deletiongcc/cp/decl.c
- gcc/cp/method.c 1 addition, 2 deletionsgcc/cp/method.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/cpp0x/defaulted21.C 20 additions, 0 deletionsgcc/testsuite/g++.dg/cpp0x/defaulted21.C
Loading
Please register or sign in to comment