https://github.com/dlang/phobos/blob/master/std/variant.d#L623 memcpy(&store, cast(const(void*)) &rhs, rhs.sizeof);
should be ok to cast unconditionally
Kagamin via Digitalmars-d-learn Tue, 15 Aug 2017 07:46:30 -0700
https://github.com/dlang/phobos/blob/master/std/variant.d#L623 memcpy(&store, cast(const(void*)) &rhs, rhs.sizeof);
should be ok to cast unconditionally