If that is the case, you'll probably be tempted to avoid paying the overhead cost of a call to an empty function by declaring your destructor inline. 如果是这种情况,你可能会通过将它声明成内联函数来避免函数调用的消耗。
In contrast, when an inlined function is invoked, the compiler inserts the object code for that function at the point-of-call. 相反,当内联函数被调用的时候,编译器会把对象源代码插入到引用函数之处。