Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12866
Change subject: util: helper class for working with bitsets ...................................................................... util: helper class for working with bitsets Adds a templatized helper class to facilitate working with bitsets. This is just a wrapper around std::bitset, but it exposes a more container-like interface. This is particularly useful for specifying containers of enum types and the like (e.g. rather than using a hashed container). This also adds an iterator class for the new wrapper; such an iterator apparently doesn't exist[1] in the STL bitset class. [1] https://stackoverflow.com/a/34728458 Change-Id: Ie0344fe94e9f9da9651164cb1b456c92d99dbdf4 --- M src/kudu/util/CMakeLists.txt A src/kudu/util/bitset-test.cc A src/kudu/util/bitset.h 3 files changed, 316 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/66/12866/1 -- To view, visit http://gerrit.cloudera.org:8080/12866 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie0344fe94e9f9da9651164cb1b456c92d99dbdf4 Gerrit-Change-Number: 12866 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
