UnqualArray

Given an associative array of arrays with a storage class, aliases itself to an associative array with array elements without the storage classes.

Members

Aliases

UnqualArray
alias UnqualArray = UnqualArray!QualElem[Unqual!QualKey]
Undocumented in source.
UnqualArray
alias UnqualArray = Unqual!QualElem[Unqual!QualKey]
Undocumented in source.

Imports

Unqual (from std.traits)
public import std.traits : Unqual;
Undocumented in source.

Parameters

QualArray

Qualified associative array type.

QualElem

Qualified type, element of QualArray.

QualKey

Qualified type, key of QualArray.

Examples

alias ConstStringArrays = const(string[])[int];
alias UnqualStringArrays = UnqualArray!ConstStringArrays;
static assert (is(UnqualStringArrays == string[][int]));

alias ImmIntArrays = immutable(int[])[char];
alias UnqualIntArrays = UnqualArray!ImmIntArrays;
static assert(is(UnqualIntArrays == int[][char]));

alias InoutBoolArrays = inout(bool)[][long];
alias UnqualBoolArrays = UnqualArray!InoutBoolArrays;
static assert(is(UnqualBoolArrays == bool[][long]));

alias ConstCharArrays = const(char)[][string];
alias UnqualCharArrays = UnqualArray!ConstCharArrays;
static assert(is(UnqualCharArrays == char[][string]));

Meta