Reinterpret casts of arrays are handled by a call to a runtime function.
You could instead use  `auto bytes = (cast(const ubyte*)&val)[0 .. T.sizeof]`.