class a {
a(){
//设置虚函数表指针
指针。virfuc() ;
}
virtual virfuc() {
}
int a ;
virtual ~a(){} ;
const int a = 9 ;
};
class b :public a
{
public :
//void * vptr = { ,,, ~b() } ;
b():a(this )
,test(0)
,pc(&test)
{
//设置虚函数表指针
}
int test ;
const int *pc ;
const AAAA func() const {
*p = 323 ;
}
virtual ~b() {
//I can hear you .
}
};