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

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-11-16 
10:56:07 UTC ---
And for the record what I'm doing for the time being in the actual std::pair
is:

      // XXX FIXME: should be defaulted per N3140. See c++/46497.
      pair(pair&& __p)
      : first(std::forward<first_type>(__p.first)),
    second(std::forward<second_type>(__p.second)) { }

which works fine together with the rest of the C++0x features.

Reply via email to