[Bug libstdc++/50320] Calling tr1 binder with constant expression fails
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 12:59:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50320
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-07 12:56:49 UTC ---
TR1 says that tr1::bind returns a forwarding call wrapper, where "A forwarding
call wrapper is a call wrapper that can be called with an argument list t1, t2,
..., tN where each ti is an lvalue. The effect of calling a forwarding call
wrapper with one or more arguments that are rvalues is implementation defined."
So TR1 is pretty clear that it only needs to support lvalue arguments.
*** This bug has been marked as a duplicate of bug 35569 ***
More information about the Gcc-bugs
mailing list