allSameTypeRecursive

Members

Manifest constants

allSameTypeRecursive
enum allSameTypeRecursive;
Undocumented in source.
allSameTypeRecursive
enum allSameTypeRecursive;
Undocumented in source.
allSameTypeRecursive
enum allSameTypeRecursive;
Undocumented in source.

Return Value

true iff all types T are the same.

Examples

static assert(allSameTypeRecursive!());
static assert(allSameTypeRecursive!(int));
static assert(allSameTypeRecursive!(int, int));
static assert(!allSameTypeRecursive!(int, double));
static assert(!allSameTypeRecursive!(int, int, double));
static assert(allSameTypeRecursive!(Tuple!(int, int, int).Types, int));

static assert(!allSameTypeRecursive!(int, const(int)));
static assert(!allSameTypeRecursive!(byte, const(int)));

Meta