NaturalNumberSet

Undocumented in source.

Constructors

this
this(size_t initialNumElements, Flag!"addAll" addAll)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

put
alias put = add
Undocumented in source.

Functions

add
void add(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
intersects
bool intersects(NaturalNumberSet other)
Undocumented in source. Be warned that the author may not have intended to support it.
maxElement
size_t maxElement()
Undocumented in source. Be warned that the author may not have intended to support it.
minElement
size_t minElement()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
bool opBinary(NaturalNumberSet other)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
bool opBinary(NaturalNumberSet other)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
NaturalNumberSet opBinary(NaturalNumberSet other)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
bool opBinaryRight(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
NaturalNumberSet opOpAssign(NaturalNumberSet other)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
reserveFor
void reserveFor(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

capacity
size_t capacity [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
elements
auto elements [@property getter]

Returns a range of the elements in this set. The elements are ordered ascending.

size
size_t size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

create
NaturalNumberSet create(size_t[] initialElements)
Undocumented in source. Be warned that the author may not have intended to support it.
inverse
size_t inverse(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta