64,654
社区成员
发帖
与我相关
我的任务
分享
#include<iostream>
template<class T>
class base
{
public:
class people
{
public:
protected:
std::string name;
int age;
};
class student:public people
{
public:
std::string GetName()
{
return name;
}
};
private:
T mt[10];
};
int main()
{
return 0;
}