HandlerReturnType

ReturnTypeOf of Handler

template HandlerReturnType (
Handler
) {}

Examples

static assert(is(HandlerReturnType!(int function()) == int));
static assert(is(HandlerReturnType!(int function()[]) == int));
static assert(is(HandlerReturnType!(int delegate()) == int));
static assert(is(HandlerReturnType!(int delegate()[]) == int));

Meta