I have the following code example below, with two template classes, one base and one derived. I need to access a type in the base class from the derived class, but it says that it does not name a type. Why is this the case?
'Parameter' does not name a type
using namespace std;
template<typename PointT>
class BaseClass{
public:
BaseClass(){}
class Parameter{
Parameter(){}
};
};
template<typename PointT>
class DerivedClass : public BaseClass<PointT>{
public:
DerivedClass(){}
class ParameterExtended{
Parameter x;
};
};