Andrew Wong has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/12866 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/util/CMakeLists.txt A src/kudu/util/bitset-test.cc A src/kudu/util/bitset.h 3 files changed, 373 insertions(+), 1 deletion(-) Approvals: Kudu Jenkins: Verified Adar Dembo: Looks good to me, but someone else must approve Alexey Serbin: Looks good to me, approved -- 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: merged Gerrit-Change-Id: Ie0344fe94e9f9da9651164cb1b456c92d99dbdf4 Gerrit-Change-Number: 12866 Gerrit-PatchSet: 8 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241)
