比较准确的回答:
析构函数不一定是内联函数,不能含有参数,当然也不能重载。
以上均来源于可靠资料:
The destructor is a member function with the name of the class prefixed by a tilde (~). It has no return value and takes no parameters. Because it cannot specify any parameters, it cannot be overloaded.
如果析构函数定义在内类一定是inline.(logically,理论上是这样的)