Is there a (compile time) way to check if a template param is null?

static if ( is (T:int) ) ....
else static if ( is(T:long) ) ....
// how to check if T == null ?