result_of protocol compatibility for generic_dispatchers