Merge "Soften BitSet class comment." am: 2ea91cfe76 am: 009d58d8da am: ec8ff6eed3 am: 80783c1327 am: 413dd3fd72

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1360510

Change-Id: I367fcce825cf0568b25678e5f769ac2525575dad
This commit is contained in:
Michael Wright 2020-07-16 13:35:01 +00:00 committed by Automerger Merge Worker
commit c3af6fcaa6

View file

@ -21,9 +21,12 @@
#include <utils/TypeHelpers.h>
/*
* Contains some bit manipulation helpers.
* A class to provide efficient manipulation of bitsets.
*
* DO NOT USE: std::bitset<32> or std::bitset<64> preferred
* Consider using std::bitset<32> or std::bitset<64> if all you want is a class to do basic bit
* manipulation (i.e. AND / OR / XOR / flip / etc). These classes are only needed if you want to
* efficiently perform operations like finding the first set bit in a bitset and you want to
* avoid using the built-in functions (e.g. __builtin_clz) on std::bitset::to_ulong.
*/
namespace android {