What type is TTag
?
Try this
template <class T>
typename TMemPool<T>::TTag* TMemPool<T>::GetAt(int I_Index)
{
if(I_Index < 0 || (unsigned int)I_Index > GetTotal())
return NULL;
return &m_pStorage[I_Index].m_Tag;
}
IIRC, VC6 used to compile stuff where typename
was missing, but VC7 onwards, that changed.