storeUnaligned

storeUnaligned: Stores a vector to an unaligned pointer.

template storeUnaligned (
V
) {
enum llvmT;
enum llvmV;
enum ir;
}

Examples

int[4] a;
int4 v = [0, 10, 20, 30];
storeUnaligned!int4(v, a.ptr);
assert(v.array == a);

Meta