You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Virtual functions might be costly if the function is called often. Maybe the code could have a non-virtual function OftenCalledFunction and a virtual NotSoOftenCalledFunction. But that decision is on you.
The text was updated successfully, but these errors were encountered:
Sometimes virtual functions are costly, sometimes not. Show both examples in this repo.
As suggested in #23 by @peci1:
The text was updated successfully, but these errors were encountered: