ReturnType

Determines the return type of the callable F.

template ReturnType (
F...
) if (
isCallable!F
) {}

Members

Aliases

ReturnType
alias ReturnType = T
Undocumented in source.

Parameters

F

A callable object.

Return Value

Return type of F.

Examples

static assert(is(ReturnType!(int delegate()) == int));
static assert(is(ReturnType!(bool function()) == bool));

Meta