EnumBitSet

Set consisting of members of the given enum. Each unique enum member can be present or absent. Accessing members can be done by name or with indexing.

Constructors

this
this(E e)

Construct an instance populated with a single member.

Members

Functions

opBinary
EnumBitSet opBinary(EnumBitSet b)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
bool opIndex(E e)
opIndexAssign
bool opIndexAssign(bool value, E e)

Access by indexing (runtime value).

opOpAssign
EnumBitSet opOpAssign(EnumBitSet o)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
auto opSlice()

Enumeration of set members. Returns a range.

opSliceAssign
void opSliceAssign(bool value)

Filling / clearing. Caution: filling with true will also set members with no corresponding enum member, if the enum is not contiguous.

opUnary
EnumBitSet opUnary()

Set operations.

Templates

opDispatch
template opDispatch(string name)

Access by name (compile-time value).

Meta