Is there any concept of pure virtual destructor in C++?
harris21 0 Newbie Poster
Recommended Answers
Jump to PostNO, at least, it would be extremely surprising and weird. Just try and see. I bet you that if you have a proper compiler, it will issue a compilation error.
Why? Well it does not make any sense to have a pure virtual destructor. Because virtual destructors are not …
Jump to Post>NO, at least, it would be extremely surprising and weird. Just try and see. I
>bet you that if you have a proper compiler, it will issue a compilation error.
If your compiler complains about a pure virtual destructor, either the compiler is non-standard, or your code is wrong.…
Jump to PostAnd some food for thoughts,here.
All 11 Replies
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Narue 5,707 Bad Cop Team Colleague
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Narue 5,707 Bad Cop Team Colleague
dusktreader 137 Posting Whiz in Training
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Narue 5,707 Bad Cop Team Colleague
dusktreader 137 Posting Whiz in Training
Narue 5,707 Bad Cop Team Colleague
dusktreader 137 Posting Whiz in Training
mrnutty 761 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.