If you have a templated type, is there a way to get the compile-time parameters it was instantiated with?

Ie:

----------------------
struct Foo(T) {}

alias MyFoo = Foo!int;
----------------------

Is there a way to inspect MyFoo to get its T type (in this case, 'int')? *Without* actually making any changes to Foo to explicitly support this?

Reply via email to