文件名称:catwork0511
介绍说明--下载内容来自于网络,使用问题请自行百度
在 C++ 里,如果我想让派生类的析构函数在释放内存时被调用,我得在基类中将其声明为虚拟函数。那么在 Visual Studio 2005 中,对于某个派生类来说,即使它在基类中未被声明为虚拟的,其析构也会被调用吗?-In C++ years, if I want a derived class destructor is called when the memory is released, I need to declare it as a base class virtual function. Then in Visual Studio 2005, for a derived class, even if it is not declared in the base class is virtual, its destructor will be called you?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
catwork0511/CatWork0511/makefile
catwork0511/CatWork0511/vdtor.cpp
catwork0511/CatWork0511/vdtor.sln
catwork0511/CatWork0511/vdtor.vcproj
catwork0511/CatWork0511
catwork0511
newstd.txt
CLASSIFY.txt
catwork0511/CatWork0511/vdtor.cpp
catwork0511/CatWork0511/vdtor.sln
catwork0511/CatWork0511/vdtor.vcproj
catwork0511/CatWork0511
catwork0511
newstd.txt
CLASSIFY.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.