This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/23978] tr1::tie doesn't work with std::pair
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2005 10:49:21 -0000
- Subject: [Bug libstdc++/23978] tr1::tie doesn't work with std::pair
- References: <20050920122936.23978.chris@bubblescope.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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