This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/52745] GCC4.7 vector uses copy instead of move constructor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52745

--- Comment #2 from Jonathan Rogers <J.W.Rogers+gcc at gmail dot com> 2012-03-27 23:13:29 UTC ---
(In reply to comment #1)
> But Stuff' move-constructor isn't known not to throw...

Okay, so it is a new requirement for move constructors to be marked as nothrow
in order for vector to use them for relocation?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]