[Bug c++/56701] [C++11] The *this* pointer fails to bind to rvalue reference to pointer type

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 6 13:50:00 GMT 2016


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?


More information about the Gcc-bugs mailing list