projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added more assertion
[libcds.git]
/
cds
/
algo
/
split_bitstring.h
diff --git
a/cds/algo/split_bitstring.h
b/cds/algo/split_bitstring.h
index 37cf2804ca77f3a13683c37a8783d314a2d13184..660cebfacc85dd219c057cdb08a4c334d22edbfa 100644
(file)
--- a/
cds/algo/split_bitstring.h
+++ b/
cds/algo/split_bitstring.h
@@
-133,6
+133,12
@@
namespace cds { namespace algo {
m_pos = 0;
}
+ // Returns pointer to source bitstring
+ bitstring const * source() const
+ {
+ return reinterpret_cast<bitstring const *>( m_first );
+ }
+
private:
//@cond
uint_type const* m_ptr; ///< current position in the hash