[bitset] get_nr_bits() method

This commit is contained in:
Joe Thornber
2013-11-18 13:07:08 +00:00
parent fd061fab15
commit b32a3b9fb9
2 changed files with 11 additions and 0 deletions

View File

@ -54,6 +54,7 @@ namespace persistent_data {
bitset(tm_ptr tm);
bitset(tm_ptr tm, block_address root, unsigned nr_bits);
block_address get_root() const;
unsigned get_nr_bits() const;
void grow(unsigned new_nr_bits, bool default_value);
void destroy();