☆─────────────────────────────────────☆
gebitan (job, job) 于 (Thu Sep 1 17:08:27 2005) 提到:
I got an question like this:
class B{public: virtual ~B()=0;};
class D : public B{};
Is there anything wrong?
The answer is nothing wrong. But I can not understand why put destructor as
pure virtual function.
☆─────────────────────────────────────☆
wy (Parry Otter) 于 (Thu Sep 1 17:25:38 2005) 提到:
so that its concrete derive must implement a destructor ya. ft