This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24803] tr1::reference_wrapper and pointers to member functions
- From: "john at johnmaddock dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2005 18:32:22 -0000
- Subject: [Bug libstdc++/24803] tr1::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 #4 from john at johnmaddock dot co dot uk 2005-11-12 18:32 -------
Doug's right: according to 3.4p4 passing an rvalue results in implementation
defined behaviour. So you can support it or not as you wish. I'll update the
Boost test case accordingly.
However... I predict that that I won't be the first to try and pass an rvalue
through a call-wrapper :-)
Regards, John.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24803