isAnyStaticNeighbourhood

$(IS_ANY StaticNeighbourhood)

Members

Manifest constants

isAnyStaticNeighbourhood
enum isAnyStaticNeighbourhood;
Undocumented in source.
isAnyStaticNeighbourhood
enum isAnyStaticNeighbourhood;
Undocumented in source.

Examples

struct Foo {
	enum uint Dimension = 2;
	enum uint NeighboursAmount = 1;
	int[2][] getNeighboursCoordinates(int x, int y) {
		return [[x+1, y+1]];
	}
}
static assert(!   isStaticNeighbourhood!(Foo, 3));
static assert( isAnyStaticNeighbourhood!(Foo   ));

Meta