-1
可能重复:
Why pure virtual function is initialized by 0?为什么纯虚析构函数总是等同于零
为什么在C++中的纯虚析构函数总是等同于零
class Sample { public: virtual void fun() = 0;// Why pure virtual function //equated only to ZERO and not with //any other random value? };