StaticNeighbourhood

Example of a StaticNeighbourhood

struct StaticNeighbourhood (
uint N
) {}

Alias This

neighbourhood

Members

Variables

NeighboursAmount
enum uint NeighboursAmount;
Undocumented in source.
neighbourhood
Neighbourhood!N neighbourhood;
Undocumented in source.

Examples

static assert(isNeighbourhood!(StaticNeighbourhood!(2), 2));
static assert(isStaticNeighbourhood!(StaticNeighbourhood!(2), 2));
static assert(isAnyStaticNeighbourhood!(StaticNeighbourhood!(2)));

Meta