------- Comment #5 from pinskia at gcc dot gnu dot org 2009-09-29 19:41 ------- Yes GCC is correct as in C++ rvalues don't bind to references as only lvalues bind to references.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41508