+ 1
What's the point to put line code in the virtual function?
1 Answer
0
Are you asking why to define a virtual function in a base class? Sometimes the inheriting class needs to override the base class's implementation of a function.
If you mean something else could you expand on your question please?