On 6 aug 2012, at 20:55, Andrei Alexandrescu wrote: > Consider: > > auto s = "some string"; > static assert(!hasLength(typeof(s)); > auto m = map!(a => a)(s); > static assert(!hasLength(typeof(s)); Do you mean: static assert(!hasLength(typeof(m))); For the second assert? -- /Jacob Carlborg