空类

如果有一个空类,它会默认添加哪些函数?

1)  Empty(); // 缺省构造函数//
2)  Empty( const Empty& ); // 拷贝构造函数//
3)  ~Empty(); // 析构函数//
4)  Empty& operator=( const Empty& ); // 赋值运算符//
posted @ 2023-02-22 10:35  小秦同学在上学  阅读(10)  评论(0编辑  收藏  举报