allSameTypeRecursive2

Variant of allSameTypeRecursive.

template allSameTypeRecursive2 (
V...
) if (
isExpressions!(V)
) {
enum allSameTypeRecursive2;
enum allSameTypeRecursive2;
}

Examples

static assert(allSameTypeRecursive2!());
static assert(allSameTypeRecursive2!(42));
static assert(!allSameTypeRecursive2!(41, 42));
static assert(allSameTypeRecursive2!(42, 42, 42));

Meta