> S!int foo; > static if ( is( typeof(foo) f == S!T, T ) ) { > // Here, T == int, f == typeof(foo) > } > > Note that the syntax "is ( Type Identifier : TypeSpecialization , > TemplateParameterList )" is only usable inside static if. >
Thanks Simen I do know the template. I will try out your solution. Will let you know if I face issues. Regards - Cherry