A "fatal error C1001: An internal error has occurred in the compiler." error occurs when compiling (a priori) correct C++ code. The code is attached to this report.Notes: 1. The code compiles correctly if "Derived" does not inherit virtually from "Base" 2. The code compiles correctly if "Contained" is not templated by member function (void(T::*)()). 3. The code compiles correctly if "Enable minimal rebuild" is disabled (/Gm-).The same error was reproduced with Visual Studio 2005 SP2 (Version 8.0.50727.762 (SP.050727-7600)).The same code was tested and compiled correctly on several online compilers (Comeau, g++ 4.1.2 through codepad.org).
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Operating System Language