Why doesn't the C++ default destructor destroy my objects?

前端 未结 13 2111
刺人心
刺人心 2020-12-14 06:59

The C++ specification says the default destructor deletes all non-static members. Nevertheless, I can\'t manage to achieve that.

I have this:

class N         


        
13条回答
提交回复
热议问题