That would be: templates are resolved at compile-time. You are trying to do things with them at run-time.

Just to be clear, you can use the instantiations of templates at run-time; that's not what...