http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-05 13:53:35 UTC --- ...is a prvalue if the LHS is a prvalue. decltype now returns int&&, which is closer but still not right.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-05 13:53:35 UTC --- ...is a prvalue if the LHS is a prvalue. decltype now returns int&&, which is closer but still not right.