D
Language
Phobos
Comparisons
object
std
std.base64
std.boxer
std.compiler
std.conv
std.cover
std.ctype
std.date
std.demangle
std.file
std.format
std.gc
std.intrinsic
std.math
std.md5
std.mmfile
std.openrj
std.outbuffer
std.path
std.process
std.random
std.recls
std.regexp
std.socket
std.socketstream
std.stdint
std.stdio
std.cstream
std.stream
std.string
std.system
std.thread
std.uri
std.utf
std.zip
std.zlib
std.c.fenv
std.c.math
std.c.process
std.c.stdarg
std.c.stddef
std.c.stdio
std.c.stdlib
std.c.string
std.c.time
std.c.wcharh
std.windows.charset
std.windows
std.linux
std.c.windows
std.c.linux
|
std.bitarray
- struct BitArray;
- An array of bits.
- bool opIndex(uint i);
bool opIndexAssign(bool b, uint i);
- Support for [index] operation for BitArray.
- BitArray dup();
- Support for array.dup 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.
- BitArray reverse();
- Support for array.reverse property for BitArray.
- BitArray sort();
- Support for array.sort property for BitArray.
- int opEquals(BitArray a2);
- Support for operators == and != for bit arrays.
- int opCmp(BitArray a2);
- Implement comparison operators.
- 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.
- void[] opCast();
- Convert to void[].
- 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 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.
- BitArray opCat(bool b);
BitArray opCat_r(bool b);
BitArray opCat(BitArray b);
- Support for binary operator ~ for bit arrays.
|