type to check
true if T is a struct, class, interface or union
struct S { } class C { } interface I { } static assert (!isReferenceType!(S)); static assert ( isReferenceType!(S*)); static assert ( isReferenceType!(S[])); static assert ( isReferenceType!(C)); static assert ( isReferenceType!(I)); static assert ( isReferenceType!(S[C])); static assert ( isReferenceType!(void function(int))); static void foo ( ) { } static assert (!isReferenceType!(typeof(foo)));