Create branch library-split
[SXSI/XMLTree.git] / libcds / src / static_bitsequence / static_bitsequence.h
index 4b6e83a..d8e3f18 100644 (file)
@@ -31,7 +31,7 @@
 #include <iostream>
 
 
-using namespace std;
+//using namespace std;
 
 /** Base class for static bitsequences, contains many abstract functions, so this can't
  *  be instantiated. It includes base implementations for rank0, select0 and select1 based
@@ -58,6 +58,9 @@ public:
         * @return (uint)-1 if i=0, len if i>num_ones or the position */
   virtual uint select1(uint i);
 
+       virtual uint select_next1(uint i);
+       virtual uint select_next0(uint i);
+
        /** Returns the i-th bit */
   virtual bool access(uint i);