Yeah, the nice thing about C++ is that you can generally hide highly optimized portions of code behind nice templates or class interfaces. And with templates you can write libraries that let a lot of compile time logic happen to inline a bunch of stuff and not have to resort to virtual methods.
But when it comes to using things like custom allocators, etc. it's a nightmare. Or a lot of the compile time "traits".
But when it comes to using things like custom allocators, etc. it's a nightmare. Or a lot of the compile time "traits".