Enum member isControlBlock
Check if type T
is of type ControlBlock!(...)
.
enum isControlBlock(T...)
= is(Unqual!(T[0]) == ControlBlock!Args, Args...);
Example
static assert(!isControlBlock!long);
static assert(!isControlBlock!(void*));
static assert(isControlBlock!(ControlBlock!long));
static assert(isControlBlock!(ControlBlock!(int, int)));