hasStandardNullValue

Is true iff T is a type with a standardized null (zero address) value.

Members

Manifest constants

hasStandardNullValue
enum hasStandardNullValue;
Undocumented in source.
hasStandardNullValue
enum hasStandardNullValue;
Undocumented in source.
hasStandardNullValue
enum hasStandardNullValue;
Undocumented in source.

Examples

class C {}
static assert( hasStandardNullValue!(C));
static assert( hasStandardNullValue!(int*));
static assert( hasStandardNullValue!(int[]));
static assert( hasStandardNullValue!(const(int)[]));
static assert(!hasStandardNullValue!(int[3]));
static assert( hasStandardNullValue!(string));
static assert(!hasStandardNullValue!(int));

Meta