B
bobsled
Generally, what should be done to make a class not expected to be derived
from?
What should be done to a class to make it derivable?
In an abstract base class, the destructor is automatically "virtual?
If the constructor of a class is protected or private, how to code the class
so that it provides a public member function, or to declare a friend that
has access to the protected or private constructor and thus the class
becomes instantiable?
Thanks for your comments!
from?
What should be done to a class to make it derivable?
In an abstract base class, the destructor is automatically "virtual?
If the constructor of a class is protected or private, how to code the class
so that it provides a public member function, or to declare a friend that
has access to the protected or private constructor and thus the class
becomes instantiable?
Thanks for your comments!