This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56701] [C++11] The *this* pointer fails to bind to rvalue reference to pointer type
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Aug 2016 13:50:10 +0000
- Subject: [Bug c++/56701] [C++11] The *this* pointer fails to bind to rvalue reference to pointer type
- Auto-submitted: auto-generated
- References: <bug-56701-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56701
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to TC from comment #3)
> This still breaks:
>
> struct A
> {
> void f(){ A*&& a = &*this; }
> };
> int main(){}
Jason, should this be reopened?