C++的空类中默认产生哪些类成员函数

 1 class Empty
 2 {
 3   public:
 4       Empty();
 5       Empty(const Empty&);
 6       ~Empty();
 7       Empty & operator =(const Empty &);
 8       Empty * operator &();
 9       contt Empty * operator &() contst;
10 }   

 

posted @ 2014-09-26 21:13  hana12169  阅读(125)  评论(0编辑  收藏  举报