Visual Studio Code – C++ template resolution error in recent MSVC, OK with GCC, LLVM and older MSVC
Here is some C++ template function which, in the general case, calls one of its specializations. After recently upgrading Microsoft Visual Studio to 17.5.4 (MSVC 19.35.32217), compiling the source code below produces the following compilation errors: bugtemplate.cpp(8,43): Error C2672: 'Test':…