Merge "Soften BitSet class comment." am: 2ea91cfe76
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1360510 Change-Id: Ie3339cabc02b476dd45bc028de09de7d4ee37a2f
This commit is contained in:
commit
009d58d8da
1 changed files with 5 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue