std
std.array
std.atomic
std.bitarray
std.exception
std.intrinsic
std.memory
std.regexp
std.thread
std.traits
std.unicode
std.vararg
std.math.core
std.math.ieee
std.math.special
|
|
std.bitarray
- struct BitArray;
- An array of bits.
- uint length();
- void length(uint newlen);
- uint dim();
- BitArray dup();
- Support for array.dup property for BitArray.
- void init(bool[] ba);
- Set BitArray to contents of ba[]
- void init(void[] v, uint numbits);
- Map BitArray onto v[], with numbits being the number of bits
in the array. Does not copy the data.
This is the inverse of opCast.
- BitArray reverse();
- Support for array.reverse property for BitArray.
- BitArray sort();
- Support for array.sort property for BitArray.
- int opApply(int delegate(inout bool) dg);
int opApply(int delegate(inout uint, inout bool) dg);
- Support for foreach loops for BitArray.
- int opEquals(BitArray a2);
- Support for operators == and != for bit arrays.
- int opCmp(BitArray a2);
- Implement comparison operators.
- void[] opCast();
- Convert to void[].
- bool opIndex(uint i);
- Support for [index] operation for BitArray.
- BitArray opCom();
- Support for unary operator ~ for bit arrays.
- BitArray opAnd(BitArray e2);
- Support for binary operator & for bit arrays.
- BitArray opOr(BitArray e2);
- Support for binary operator | for bit arrays.
- BitArray opXor(BitArray e2);
- Support for binary operator ^ for bit arrays.
- BitArray opSub(BitArray e2);
- Support for binary operator - for bit arrays.
a - b for BitArrays means the same thing as a & ~b.
- BitArray opCat(bool b);
BitArray opCat_r(bool b);
BitArray opCat(BitArray b);
- Support for binary operator ~ for bit arrays.
- bool opIndexAssign(bool b, uint i);
- Support for [index] operation for BitArray.
- BitArray opAndAssign(BitArray e2);
- Support for operator &= bit arrays.
- BitArray opOrAssign(BitArray e2);
- Support for operator |= for bit arrays.
- BitArray opXorAssign(BitArray e2);
- Support for operator ^= for bit arrays.
- BitArray opSubAssign(BitArray e2);
- Support for operator -= for bit arrays.
a -= b for BitArrays means the same thing as a &= ~b.
- BitArray opCatAssign(bool b);
BitArray opCatAssign(BitArray b);
- Support for operator ~= for bit arrays.
|