decltype(*this) cause compiler crash - by 江添亮

Status : 


Sign in
to vote
ID 535484 Comments
Status Active Workarounds
Type Bug Repros 1
Opened 2/22/2010 5:40:50 PM
Duplicates 535785 Access Restriction Public


using "decltype(*this)" cause

"error C1001: An internal error has occurred in the compiler."

code is.

struct Foo
        void f()
                decltype(*this) ;
} ;
Sign in to post a comment.
Posted by Microsoft on 2/24/2010 at 8:30 AM
Hi: I can confirm that this is a bug with Visual C++. Unfortunately it does not meet the triage bar for the current release of Visual C++ - but we will keep the issue in our database and we will look at it again during the development phase of a future release of Visual C++.

Jonathan Caves
Visual C++ Compiler Team
Posted by Microsoft on 2/23/2010 at 10:35 PM

Thanks for your feedback.

We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.
These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/22/2010 at 7:11 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(