N
Nikolay Moskvichev
Hi,
When porting application to linux we get
compilation errors (undefined variable p in function GetValue())
from gcc 3.4.1 but it compiles well on windows with msvc 7.1
what is problem here ?
template<class T> class A
{
public:
T p;
};
template<class T> class B : public A<T>
{
public:
T GetValue() const {return p;}
};
When porting application to linux we get
compilation errors (undefined variable p in function GetValue())
from gcc 3.4.1 but it compiles well on windows with msvc 7.1
what is problem here ?
template<class T> class A
{
public:
T p;
};
template<class T> class B : public A<T>
{
public:
T GetValue() const {return p;}
};