public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46103] New: [c++0x] moving from std::array copies the elements
@ 2010-10-20 18:19 marc.glisse at normalesup dot org
  2010-10-20 21:10 ` [Bug c++/46103] " redi at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: marc.glisse at normalesup dot org @ 2010-10-20 18:19 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@normalesup.org


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).


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-11-22 12:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 18:19 [Bug c++/46103] New: [c++0x] moving from std::array copies the elements marc.glisse at normalesup dot org
2010-10-20 21:10 ` [Bug c++/46103] " redi at gcc dot gnu.org
2010-10-20 21:30 ` marc.glisse at normalesup dot org
2010-10-20 23:26 ` paolo.carlini at oracle dot com
2010-10-21  5:37 ` marc.glisse at normalesup dot org
2010-10-21  9:32 ` paolo.carlini at oracle dot com
2010-10-22 13:52 ` jason at gcc dot gnu.org
2010-10-22 18:38 ` jason at gcc dot gnu.org
2010-10-22 20:56 ` jason at gcc dot gnu.org
2010-11-22 13:13 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).