Hacker News new | ask | show | jobs
by cout 820 days ago
This is a good point. Using final and a static cast to the derived type should eliminate the indirect call.