I wonder how well LTO optimizes for these sorts of things, vs doing all of the legwork to compile-time resolve polymorphic functions and objects.
In my experience, compilers are very good at this.
In my experience, compilers are very good at this.