D
Drew
VS.NET 2003 V7.1.3088 - Unmanaged code
I'm getting:
c:\Proj\pt.h(581) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Pseudo code:
template <class T> class Vec2
{
protected:
T n[2];
public:
Vec2() { n[0] = n[1] = 0; }
};
template <class T> class Pt2 : public Vec2<T>
{
public:
Pt2() {}
static void (*circfcn)( T x, T y, T rad);
};
// Chokes here:
template <class T> void (*Pt2<T>::circfcn)( T x, T y, T rad);
Any fix/workaround?
Thanks,
Drew
I'm getting:
c:\Proj\pt.h(581) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Pseudo code:
template <class T> class Vec2
{
protected:
T n[2];
public:
Vec2() { n[0] = n[1] = 0; }
};
template <class T> class Pt2 : public Vec2<T>
{
public:
Pt2() {}
static void (*circfcn)( T x, T y, T rad);
};
// Chokes here:
template <class T> void (*Pt2<T>::circfcn)( T x, T y, T rad);
Any fix/workaround?
Thanks,
Drew