M
Medi Montaseri
Hi,
I think my problem is indeed "how to implement something like java's
final in C++"
The long version....
I have an abstract base class which is inherited by several concrete
classes.
I have a group of methods that I'd like to implement in the base class
and would like
to mandate that the client should send those messages directly to the
base class
(and not thru its derived classes). I guess that is similar to "final"
in Java...
How do I enforce such policies...
Thanks
I think my problem is indeed "how to implement something like java's
final in C++"
The long version....
I have an abstract base class which is inherited by several concrete
classes.
I have a group of methods that I'd like to implement in the base class
and would like
to mandate that the client should send those messages directly to the
base class
(and not thru its derived classes). I guess that is similar to "final"
in Java...
How do I enforce such policies...
Thanks