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

--- Comment #4 from David Krauss <potswa at mac dot com> ---
Created attachment 31884
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31884&action=edit
SFINAE based fix

This seems stylistically OK, but I did copy-paste the implementation of moving.
Perhaps the common code should be factored into a new function, or the
constructor should simply call into move assignment.

It fixes the problem but I was unable to run the testsuite. This is a brand-new
installation and I haven't used it for contribution yet. (It says "WARNING:
could not find `runtest'".)

Reply via email to