Tom S wrote:
> static if (is(T : T1)) {
> return cast(.List!(T1))cast(void*)this;
> } else {
Btw, this test would have to be more complex in case of primitive types,
but then the 'covariance' couldn't quite work either.
--
Tomasz Stachowiak /+ a.k.a. h3r3tic +/