[Bug libstdc++/23978] tr1::tie doesn't work with std::pair

chris at bubblescope dot net gcc-bugzilla@gcc.gnu.org
Thu Sep 22 10:49:00 GMT 2005


------- Additional Comments From chris at bubblescope dot net  2005-09-22 10:49 -------
Ah ha, found the problem. tuple has a copy constructor for std::pair, but not an operator=(std::pair). It 
should. I'll prepare a patch. While I'm at fixing this, there are quite a lot of functions (make_tuple, ref, cref, 
tie) that should really be marked inline, and aren't. I'll fix that at the same time.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1


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



More information about the Gcc-bugs mailing list