This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/41622] [c++0x] std::hash<std::string>::operator() copies its argument
- From: "jbytheway at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2009 15:45:20 -0000
- Subject: [Bug libstdc++/41622] [c++0x] std::hash<std::string>::operator() copies its argument
- References: <bug-41622-18253@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jbytheway at gmail dot com 2009-10-07 15:45 -------
Created an attachment (id=18741)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18741&action=view)
Patch providing proof-of-concept implementation
I attach a patch implementing this change on svn HEAD. It doesn't break any
tests here, but I am fairly sure I've done the wrong thing to the linker script
(gnu.ver); I don't really understand the linker script, so it was rather
monkey-see-monkey-do.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41622