Constructor.
Initializes this Set from another one.
Initializes the set from a forward range.
Initializes the set from a static array.
The range types for $(D_PSYMBOL Set).
The range types for $(D_PSYMBOL Set).
Removes all elements.
Inserts a new element.
Inserts the value from a forward range into the set.
Assigns another set.
$(D_KEYWORD in) operator.
Returns a bidirectional range over the container.
Sets the number of buckets in the container to at least n and rearranges all the elements according to their hash values.
Removes an element.
Returns current bucket count in the container.
Maximum amount of elements this $(D_PSYMBOL Set) can hold without resizing and rehashing. Note that it doesn't mean that the $(D_PSYMBOL Set) will hold exactly $(D_PSYMBOL capacity) elements. $(D_PSYMBOL capacity) tells the size of the container under a best-case distribution of elements.
Tells whether the container contains any elements.
Iterates over the $(D_PSYMBOL Set) and counts the elements.
The maximum number of buckets the container can have.
Set is a data structure that stores unique values without any particular order.
This $(D_PSYMBOL Set) is implemented using closed hashing. Hash collisions are resolved with linear probing.
T should be hashable with hasher. hasher is a callable that accepts an argument of type T and returns a hash value for it ($(D_KEYWORD size_t)).