http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46103
Summary: [c++0x] moving from std::array copies the elements
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Hello,
this is probably another "not implemented yet" (although the status page seems
to say that this is done), but I noticed that moving from:
struct A { Type t; };
properly moves t while moving from:
struct B { Type t[1]; };
copies t[0] (this is the case for std::array).