This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24803] [c++0x] reference_wrapper and pointers to member functions
- From: "jwakely dot gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2010 17:19:03 -0000
- Subject: [Bug libstdc++/24803] [c++0x] reference_wrapper and pointers to member functions
- References: <bug-24803-3433@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from jwakely dot gcc at gmail dot com 2010-01-12 17:19 -------
(In reply to comment #20)
> I'd like only to make sure we don't
> forget about the issue with pointers to member functions: is there a DR open
> already?
It's been raised on the lib reflector byme, Stephan T. Lavavej and Alisdair
Meredith. I'm not sufficiently motivated to open an issue for it, there are
workarounds using mem_fn.
The proposed resolution for LWG 1225 reinforces my interpretation that
result_of does not support pointers-to-members.
> Maybe we could also find a way to mention it in the code, if you
> haven't done that already, didn't check.
No, I didn't mention it in the code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24803