On Thursday, April 19, 2012 23:06:58 Jakob Ovrum wrote: > T opCast(T : const(Vector2D!U), U)() const > { > return new T(x, y); > } Cool. That's definitely better. I definitely need to improve my template-foo with regards to :. - Jonathan M Davis