while experimenting, i also discovered a problem with template functions that are not in a class.
i added this block (before any other functions) to a cpp file:
template<class T> bool felineLessThan(T a, T b)
{
return return a < b;
}
template<> bool felineLessThan<const char *>(const char *a, const char *b)
{
return strcmp(a, b) < 0;
}
template<> bool felineLessThan<long>(long a, long b)
{
return a < b;
}
static void testFn()
{
bool res = felineLessThan(|
}
when i add the open bracket on felineLessThan in testFn i see:
for a second, or less. then this tooltip is removed and replaced with:
i am getting this both with .NET 2003 at work and .NET 2002 at home. interestingly, calling felineLessThan further down the file does not produce this jumping tooltip.
case=223