LibBitvector implements arbitrary-sized vectors of zero and one flags (bit vectors or bit strings) that can be operated on with AND, OR, XOR, NOT, LSHIFT, and RSHIFT operators.
| Tags | Software Development Libraries |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | C |
Recent releases


Release Notes: A bug in the _fromstring code has been fixed. First set bit and first unset bit functions have been added, as well as hooks to allow external memory management (for mmap, etc.).


Release Notes: This release has more rigorous unit tests. A bug where a bitvector could be created with an incorrect size has been fixed.


Release Notes: A bug in the unset function has been fixed.


Release Notes: This release has C-string encoding/decoding and miscellaneous bugfixes.


Release Notes: Minor API changes were added to enhance consistency.
Recent comments
12 Oct 2004 02:35
Similar project
A similar project is "Bit::Vector", which in addition to AND, OR, XOR, NOT, LSHIFT, and RSHIFT can do ROL, ROR, INS, DEL etc. Moreover it provides integer arithmetic (interpreting the arbitrary-sized bitvector as a large integer), numerous string import/export functions and operations on ranges of bits in the vector like reverse, copy and substitute, counting the number of set bits, determining the min/max set bit, and operations on boolean matrices stored in bitvectors.
A lightweight library containing a number of classes and functions to ease the task of programming GTK+ programs with C++ in POSIX environments.