This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45282] wrong decltype result for .*
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 13:53:51 +0000
- Subject: [Bug c++/45282] wrong decltype result for .*
- Auto-submitted: auto-generated
- References: <bug-45282-4@http.gcc.gnu.org/bugzilla/>
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.