nxt.typecons_ex

Members

Enums

hasIndexing
eponymoustemplate hasIndexing(T, I = size_t)

Check if T can be indexed by an instance of I.

isCastableTo
eponymoustemplate isCastableTo(T, U)

Check if T is castable to U.

isIndexableBy
eponymoustemplate isIndexableBy(R, I)

Check if R is indexable by I.

isIndexableBy
eponymoustemplate isIndexableBy(R, alias I)

Check if R is indexable by a automatically R-local defined integer type named I.

Functions

enumToString
string enumToString(E v)

Convert enum value v to string. See also http://forum.dlang.org/post/aqqhlbaepoimpopvouwv@forum.dlang.org

indexedBy
auto indexedBy(R range)

Instantiator for IndexedBy.

indexedBy
auto indexedBy(R range)

Instantiator for IndexedBy.

nullable
auto nullable(T a)

Instantiator for Nullable.

nullable
auto nullable(T value)

Instantiator for Nullable.

nullableRef
auto nullableRef(T* a)

Instantiator for NullableRef.

strictlyIndexed
auto strictlyIndexed(R range)

Instantiator for TypesafelyIndexed.

Mixin templates

RvalueRef
mixintemplate RvalueRef()

Structs

IndexedArray
struct IndexedArray(E, I)

Statically-Sized Array of ElementType E indexed by I. TODO assert that I is continuous if it is a enum.

IndexedBy
struct IndexedBy(R, I)

Wrapper for R with Type-Safe I-Indexing.

IndexedBy
struct IndexedBy(R, string IndexTypeName)

Templates

New
template New(T)
makeEnumFromSymbolNames
template makeEnumFromSymbolNames(string prefix = `__`, string suffix = ``, bool firstUndefined = true, bool useMangleOf = false, Es...)

Meta