Pointer to array returns types are parsed correctly in regular trailing return type functions, but not in template functions. I.e., of the following two functions declarations, the first one compiles correctly but the second one causes error C2059:auto MyFunc() -> int(*)[4] { return nullptr;};template<class A>auto MyFunc2(A* pParam) -> int(*)[4] { return nullptr;};
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...