This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/57899] bind/function with data member: infinite recursion
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Jul 2013 10:51:04 +0000
- Subject: [Bug libstdc++/57899] bind/function with data member: infinite recursion
- Auto-submitted: auto-generated
- References: <bug-57899-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57899
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-07-15
Component|c++ |libstdc++
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
N.B. you can simplify
bind(&pair<const string, int>::first, _1);
to:
mem_fn(&pair<const string, int>::first);
although that doesn't fix the problem.