diff options
author | Jason Merrill <jason@redhat.com> | 2011-10-18 13:39:15 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-10-18 13:39:15 -0400 |
commit | a2e70335e27f8e348cf5c8d11765a46d82282669 (patch) | |
tree | 342e8cad633455730e78cd313f19f1e343339ffa /gcc/dwarf2out.c | |
parent | c5d942188b70dc182150ae9fb57d502cbf0e9e75 (diff) | |
download | gcc-a2e70335e27f8e348cf5c8d11765a46d82282669.zip gcc-a2e70335e27f8e348cf5c8d11765a46d82282669.tar.gz gcc-a2e70335e27f8e348cf5c8d11765a46d82282669.tar.bz2 |
re PR c++/50500 ([C++0x] [DR 1082] move constructor should cause copy constructor to be deleted, but still declared)
PR c++/50500
DR 1082
* class.c (type_has_user_declared_move_constructor): New.
(type_has_user_declared_move_assign): New.
(add_implicitly_declared_members): Add lazy copy ops
even if there's a move.
* method.c (lazily_declare_fn): Delete implicit copies
if there's a move.
(maybe_explain_implicit_delete): Explain this. Use inform rather
than error.
* cp-tree.h: Declare new fns.
From-SVN: r180159
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions