Dear all,
 
I'm newcomer in this forum, so maybe my question had been already discussed.
 
but, if I create a Class A having some virtual (or even abstract) methods, and then Class B, that generalize the class A, I get all public and protected methods of A inherited in the B. That's great. But I also want to generate a C++ code of these classes. And to implement those virtual methods in B, I should create them again in B with the same signatures. This is not very convenient. But worse, if I later change signatures of virtual methods in class A, I could forget to change them in class B.
Is this my mistake or it has a conceptual explanation ?
 
hope someone could help me...
Thank you in advance,
 
Aleksey Voitovich
 

Reply via email to