4 template FunctionTypeOf(func
...)
7 static if (is(typeof(& func
[0]) Fsym
: Fsym
*) && is(Fsym
== function) ||
is(typeof(& func
[0]) Fsym
== delegate))
9 alias Fsym FunctionTypeOf
;
11 else static if (is(typeof(& func
[0].opCall
) Fobj
== delegate))
13 alias Fobj FunctionTypeOf
;
20 static assert(!is(FunctionTypeOf
!DummyEnum
));