VectorOps.opCast

We can't support implicit conversion but do support explicit casting. "Vector types of the same size can be implicitly converted among each other." Casting to another vector type is always just a raw copy.

mixintemplate VectorOps(VectorType, ArrayType : BaseType[N], BaseType, size_t N)
pure const nothrow @trusted @nogc
VecDest
opCast
(
VecDest
)
()
if (
VecDest.sizeof == VectorType.sizeof
)

Meta