#include<iostream>
#include <vector>
using namespace std;
class Component
{
public:
Component(int val) :value(val){
cout << "Structure of the C" << endl;
}
virtual ~Component(){
cout << "delete the C" << endl;
}
friend ostream &operator
c++老八秘制 Delegation+Inheritance 委托+继承
最新推荐文章于 2024-07-19 11:42:48 发布