The attached reproduction code uses tags and template argument deduction to pull base classes out of a derived class. It is 100% legal C++, and compiles fine in GCC (tested with v4.5.1).The first use of the "get" function works just as expected, but for some reason the second produces two identical C2784 errors, followed by a single C2782 error. These errors are incorrect -- the template arguments are in no way ambiguous.Interestingly enough, IntelliSense is able to deduce the types correctly.
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...