ImmutableHashSet.this

Constructs an immutable hash set from the given values. The values must not have any duplicates.

  1. this()
  2. this(const T[] values)
    struct ImmutableHashSet(T, alias hashFunction)
    this
    immutable
    (
    const T[] values
    )
    in { import std.algorithm : sort, uniq; import std.array : array; assert (values.dup.sort().uniq().array().length == values.length); }

Meta