This applies to c++Inside a sizeof statemen, when there's a template mebmer function, and another function outside the class with the same name, the compiler sometimes wrongly chooses the outside one. More specifcally, it always chooses the function from a namespace matching it's argument, even if the member function is explicitely specified as shown in the example code. If the outside function doesn't have the correct signature for the parameter, then a compiler error is generated.
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...