isNullable.isNullable

Undocumented in source.
  1. enum isNullable;
  2. enum isNullable;
  3. enum isNullable;
  4. enum isNullable;
  5. enum isNullable;
    template isNullable(T)
    static if(!(is(T == class) || is(T == typeof(null)) || (is(T : const(E)[], E) && !__traits(isStaticArray, T))))
    static if(!(hasStandardNullValue!T))
    static if(!(hasMemberNullValue!T))
    static if(!(__traits(hasMember, T, "nullifier")))
    static if((__traits(hasMember, T, "isNull") && __traits(hasMember, T, "nullify")))
    enum isNullable = (is(typeof(T.init.isNull()) == bool) && is(typeof(T.init.nullify()) == void));
  6. enum isNullable;

Meta