06-03-2014, 10:56 AM
I have a pure virtual function like
virtual void OnEvent(EventName event, State& superState) = 0;
For some of the derived classes, the implementation uses both of the the parameters. For others, the parameters are not used at all.
Is this acceptable?
virtual void OnEvent(EventName event, State& superState) = 0;
For some of the derived classes, the implementation uses both of the the parameters. For others, the parameters are not used at all.
Is this acceptable?
<t></t>