dextool.set

Members

Aliases

Set
alias Set(T) = void[0][T]
Undocumented in source.

Functions

add
void add(void[0][T] self, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
add
void add(void[0][T] self, void[0][T] set)

Merge set into self

clone
Set!T clone(void[0][T] self)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(inout(void[0][T]) set, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
intersect
SetT intersect(SetT self, SetT set)

The intersection according to Set Theory.

remove
void remove(void[0][T] self, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setDifference
SetT setDifference(SetT self, SetT set)

The set difference according to Set Theory.

setFromList
Set!T setFromList(T[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
setFromRange
Set!T setFromRange(RangeT range)
Undocumented in source. Be warned that the author may not have intended to support it.
setToList
auto setToList(Set!T set)
Undocumented in source. Be warned that the author may not have intended to support it.
setToRange
auto setToRange(Set!T set)

Specify the template type or it doesn't work.

symmetricDifference
SetT symmetricDifference(SetT self, SetT set)

The symmetric difference according to Set Theory.

Meta

Authors

Jacob Carlborg

License

Boost Software License 1.0

Copied from DStep.

Convenient functions for a set.