Moritz Warning escribió: > I need to test if a template parameter is a struct. > Is there a way to find out? > - thanks template Foo(T) { static if(is(T == struct)) { } } http://digitalmars.com/d/1.0/expression.html#IsExpression