How to convert a template type into a new type In the following template function f(), I want to convert the template type T to type TD.