Article ID: 155386
Article Last Modified on 7/5/2005
/* Compile options needed: None
*/
template<class T> int test1( T x)
{
return 1;
}
namespace A{
int test1(int)
{
return 1;
};
}
int test2()
{
return test1(1);
}
using namespace A; // comment out this line for workarounds 2 & 3.
void main()
{
// using namespace A; // uncomment this line for workaround 2
test1(1);
// A::test1(1); // uncomment this line for workaround 3
}
Additional query words: kbVC420bug
Keywords: kbbug kbfix kbvc500fix kbcpponly kbcompiler KB155386