Given a class with a templated member function, capturing "this" within a lambda function and trying to use the templated member function within it will result in odd errors. In a larger project I get error C2275 on the lines doing this. I have also created a small test case which gets error C2062.However, both of these errors are fixed by explicitly calling the member function with "this->". That is, the implicit member function usage is what is broken.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...