奸题

Base a(); //并不是构造,而是声明一个函数;调用默认构造是Base a;

函数中分配内存,使用二级指针,否则会释放.

posted on 2017-12-11 13:28  willaty  阅读(100)  评论(0编辑  收藏  举报

导航