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++/23978] tr1::tie doesn't work with std::pair


------- 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


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