We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6caacfa + 8274061 commit f2509dbCopy full SHA for f2509db
src/bf/bloom_filter/basic.cc
@@ -96,4 +96,9 @@ void basic_bloom_filter::swap(basic_bloom_filter& other)
96
swap(bits_, other.bits_);
97
}
98
99
+bitvector const& basic_bloom_filter::storage() const
100
+{
101
+ return bits_;
102
+}
103
+
104
} // namespace bf
src/bf/bloom_filter/basic.h
@@ -79,6 +79,9 @@ class basic_bloom_filter : public bloom_filter
79
/// @param other The other basic Bloom filter.
80
void swap(basic_bloom_filter& other);
81
82
+ /// Returns the underlying storage of the Bloom filter.
83
+ bitvector const& storage() const;
84
85
private:
86
hasher hasher_;
87
bitvector bits_;
0 commit comments