C++中基类的析构函数为什么要用virtual虚析构函数
虚基类https://blog.csdn.net/xbb123456rt/article/details/81986691?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167629987316800215069826%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=167629987316800215069826&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allbaidu_landing_v2~default-2-81986691-null-null.142v73insert_down4,201v4add_ask,239v1control&utm_term=virtual%20C%2B%2B&spm=1018.2226.3001.4187
Virtual
最新推荐文章于 2024-08-25 23:11:21 发布