doc is not consistent with code in vptr_vtable

This commit is contained in:
slk000
2022-11-23 18:03:52 +08:00
parent ade7173887
commit f6994de797
2 changed files with 6 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ int main(void)
pp.fun1();
cout<<"基类指针指向派生类实例并调用虚函数"<<endl;
pt->fun1();
cout<<"基类引用指向类实例并调用虚函数"<<endl;
cout<<"基类引用指向派生类实例并调用虚函数"<<endl;
p.fun1();