hi,
I have a very basic problem regarding inheretance. The situation is: there are two classes
Code:
template <typename Vec, typename Tint>
class one {
public:
one();
}:
template <typename Vec, typename Tint>
one<Vec,Tint>::one(){}
template<typename S>
class two: public one{
public:
two();
};
template<typename S>
two<S>::two(){}
what I get whan I try to compile it is the error refering to line
Code:
"class two: public one{"
:
Code:
error: expected class-name before ‘{’ token
ecerything is in the same file so I guess i am calling class one in the wrong way. What should be the proper construct for this
thnx