http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51965
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-23 14:11:08 UTC --- Thanks, Chris. I haven't looked at the patch or test yet, but I'm a little surprised the compiler can't elide the move constructors.