最佳答案
C++0x 草案 n3290 第 12.4 节对析构函数有这样的说法:
Destructors
A special declarator syntax using an optional function-specifier (7.1.2) followed by ˜ followed by the destructor’s class name followed by an empty parameter list is used to declare the destructor in a class definition.
(强调)
所以不,析构函数不带参数。 (2003 年标准有上述段落的确切措辞。)
关于c++ - 析构函数参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6245295/