Neighbourhood

Example of a Neighbourhood

struct Neighbourhood (
uint N
) {
enum uint Dimension;
}

Examples

static assert(isNeighbourhood!(Neighbourhood!(2), 2));
static assert(isAnyNeighbourhood!(Neighbourhood!(4)));

Meta