As far as I'm concerned, It seems a issue, I suggest you could post the issue to the Developer Community for better help.
Visual Studio 2019 C++ not recognizing template friends
Bradley Bell
1
Reputation point
I have an example C++ program that works in Visual Studio 2019 with a plain version of class1 but not with a template version of class1. Both versions work in gcc.
The details of the example can be found at
https://stackoverflow.com/questions/63288453/visual-studio-2019-c-not-recognizing-template-friends
I am hoping that someone on this forum can tell me how to get Visual Studio to work for this case.
1 answer
Sort by: Most helpful
-
Jeanine Zhang-MSFT 9,666 Reputation points Microsoft Vendor
2020-08-21T02:48:07.46+00:00