isNullAssignable

Note that NotNull!T is not isNullAssignable.

template isNullAssignable (
T
) {
enum isNullAssignable;
}

Examples

static assert( isNullAssignable!(int*));
static assert(!isNullAssignable!(int));

Meta