Is std.traits.Unqual supposed to work on pointers? const int x; static assert(Unqual!(typeof(&x)) == int*); Compiler says: static assert: `is(const(int)* == int*)` is false If it's a bug I'll report it.