How to avoid the duplicate statement of virtual function in the descendant? #126
Replies: 1 comment 1 reply
-
Hello. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, for the interface-like class
AdvApprox_ApproxAFunction
This interface owns 17 descendants, and the
virtual void Evaluate()
statement are included in each sub-class.and so on.
I am a developer of java/scala. It is amazed to see that we need to restate the abstract function/interface in the subclass.
Beta Was this translation helpful? Give feedback.
All reactions