Set

Unordered sequence of unique aliases.

Args can contain duplicates, but they will be filtered out, so $(D_PSYMBOL Set) contains only unique items. $(D_PSYMBOL isEqual) is used for determining if two items are equal.

Alias This

Seq

Members

Aliases

Seq
alias Seq = NoDuplicates!Args

Elements in this set as $(D_PSYMBOL AliasSeq).

Variables

length
enum size_t length;

The length of the set.

Parameters

Args

Elements of this $(D_PSYMBOL Set).

Examples

alias S1 = Set!(int, 5, 5, int, 4);
static assert(S1.length == 3);

Meta