This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/24803] tr1::reference_wrapper and pointers to member functions



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]