aliasSeqOf

Converts an input range range into an alias sequence.

Members

Aliases

aliasSeqOf
alias aliasSeqOf = AliasSeq!()
Undocumented in source.
aliasSeqOf
alias aliasSeqOf = AliasSeq!(range[0], aliasSeqOf!(range[1..$]))
Undocumented in source.
aliasSeqOf
alias aliasSeqOf = aliasSeqOf!(toArray(range))
Undocumented in source.

Functions

toArray
ReturnType!(typeof(&range.front))[] toArray(typeof(range) range)
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

range

Input range.

Return Value

Alias sequence with items from range.

Examples

static assert(aliasSeqOf!([0, 1, 2, 3]) == AliasSeq!(0, 1, 2, 3));

Meta