How expensive is a virtual function call, and why?
Why does a similar function call, resolved at compile time, have no such performance overhead?
How would you make compile-time polymorphic function calls?
How would you use CRTP to expand the interface of the base class?
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.