alias E = string; alias I = int; alias R = typeof(["a", "b"]); static assert(isIterableOf!(R, E)); static assert(isIterableOfUnqual!(R, const(E))); static assert(isIterableOfSomeString!(R)); static assert(!isIterableOf!(R, I));
See Implementation