hasNeighbourhoodType

return true if T has an alias named NeighbourhoodType. False if not

return true if T has an alias named NeighbourhoodType. False if not. Note that NeighbourhoodType need not actually be a neighbourhood. It can be any type

template hasNeighbourhoodType (
T
) {}

Members

Manifest constants

hasNeighbourhoodType
enum hasNeighbourhoodType;
Undocumented in source.

Examples

struct Foo {
	alias NeighbourhoodType = char; //car is is not a neighbourhood
}

static assert( hasNeighbourhoodType!Foo); //but this return true anyways
static assert(!hasNeighbourhoodType!int);

Meta