Module bolts.traits

Provides utilites that allow you to determine type traits

Example

class C {}
struct S {}
struct S1 {
    this(typeof(null)) {}
    void opAssign(typeof(null)) {}
}

static assert( isNullSettable!C);
static assert(!isNullSettable!S);
static assert( isNullSettable!S1);
static assert( isNullSettable!(int *));
static assert(!isNullSettable!(int));