This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/16043] missing C++11 move constructor
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 12 Oct 2013 08:30:56 +0000
- Subject: [Bug c++/16043] missing C++11 move constructor
- Auto-submitted: auto-generated
- References: <bug-16043-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16043
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jan.kratochvil at redhat dot com
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Created attachment 7231
--> https://sourceware.org/bugzilla/attachment.cgi?id=7231&action=edit
fix+testcase, just that it displays &
This fix+testcase would work, just that it displays:
$1 = (C &) @0x7fffffffd960: {i = 42}
while I think it should display:
$1 = (C &&) @0x7fffffffd960: {i = 42}
This means to either add TYPE_CODE_RVALUE_REF besides TYPE_CODE_REF which is
pretty tedious - referenced in 155 LoCs - due to missing types virtualization.
Or to add new main_type::flag_ref_is_rvalue but that is not too clean.
--
You are receiving this mail because:
You are on the CC list for the bug.