"DaKoadMunky" <dakoadmunky@aol.com> wrote in message
news:20040722224116.05710.00002020@mb-m14.aol.com...
<CODE>
template<class T>
void Global() {}
namespace ANamespace
{
template<class T>
void InANamespace() {}
}
int main()
{
void (*fncPtr)() = Global<int>; //Compiles on both Comeau &
MSVC++.NET
fncPtr = ANamespace::InANamespace<int>; //Compiles on Comeau but
not
MSVC++.NET
return 0;
}
</CODE>
Using MSVC++.NET line 1 compiles but line 2 does not.
Compiles fine for me. Perhaps you are using version 7.0?
Jonathan
.