This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]