_dispatchExact
fn
auto _dispatchExact(string context, T, handlers...)(ref T payload)Invoke the handler whose sole parameter exactly matches T, ignoring top-level qualifiers. This is the type-dispatch core shared by ddn.types.match callers and ddn.result.match: exact dispatch keeps related payload types unambiguous. Handler selection ignores callables whose single-parameter type cannot be determined.
Parameters
context | diagnostic prefix naming the calling module. |
T | payload type to dispatch on. |
handlers | candidate callables. |
payload | active payload to hand to the selected handler. |
Returns
the selected handler's return value.