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: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2010 09:32:31 -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 #19 from redi at gcc dot gnu dot org 2010-01-12 09:32 -------
As I said earlier in this audit trail, the current draft defines the call
operator in terms of std::result_of and so it doesn't support invoking a
pointer-to-member. I have removed the relevant bits of the 24803.cc testcase,
and enabled the FIXME parts that needed rvalue reference support, which work
now that std::reference_wrapper::operator() uses perfect forwarding.
I think this bug could be closed now, any objections?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24803