X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=bit-vector.hpp;h=76ed8706f2ec232e44f16e7accba830db1c4b939;hb=a6ceb9a;hp=697581d0de3fd7d71e508c7649b2310844bc0cd0;hpb=9b8afc78da8be3f210cf204b732d4c84ca5080d5;p=SXSI%2FXMLTree.git diff --git a/bit-vector.hpp b/bit-vector.hpp index 697581d..76ed870 100644 --- a/bit-vector.hpp +++ b/bit-vector.hpp @@ -56,7 +56,7 @@ class bit_vector { /** Sets the idxth bit to b. The bit_vector is resized if necessary */ void set(size_t idx, bool b); - + void set_le(size_t idx, bool b); /** Adds bit b at the end of the bit_vector. The bit_vector is resized if necessary */ void push_back(bool b); @@ -94,7 +94,7 @@ class bit_vector { /** Efficient unsafe get/get_field */ bool unsafe_get(size_t idx) const; uint32_t unsafe_get_field(size_t idx, size_t len) const; - + void debug(void) const; private: // true if get_vector_ptr() was called