D
David Rubin
Is there ever a good reason to declare private non-virtual member
functions in a class definition?
As far as private virtual function are concerned, my understanding is
that, if you have a (public) function which calls an private virtual
function in the base class, the behavior can be changed by overriding
the private virtual function in the derived class (but leaving the
calling function unchanged). This at least seems useful.
/david
functions in a class definition?
As far as private virtual function are concerned, my understanding is
that, if you have a (public) function which calls an private virtual
function in the base class, the behavior can be changed by overriding
the private virtual function in the derived class (but leaving the
calling function unchanged). This at least seems useful.
/david