hasDimension

return true if T has an enum uint named Dimension. False if not

template hasDimension (
T
) {}

Members

Manifest constants

hasDimension
enum hasDimension;
Undocumented in source.

Examples

struct Foo {
	static immutable int Dimension = 0;
}

static assert( hasDimension!Foo);
static assert(!hasDimension!int);

Meta