This code compiles fine but I get error in static check:namespace a{ class st { template<typename T> st& operator<<(T const& t) { return *this; } }; int ff() { return 0; }}int main(){ a::st() << a::ff();}1 IntelliSense: function "a::st::operator<<(const T &t) [with T=int]" (declared at line 9) is inaccessible c:\projects\test\exe\exe\exe.cpp 17 10 exeThere is no error here.
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...