pure virtual destructor

H

hpsoar

I want to define a class A distributed in A.h and A.cpp , whose
destructor is a pure virtual destructor. And a class B derived frome
class A distributed in B.h and B.cpp, can I make it, how to make it if
can. How can I make a comprise to implement a close version. And thank
you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,043
Members
48,769
Latest member
Clifft

Latest Threads

Top