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 .
}
};