Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f32317c8 authored by Michael Wright's avatar Michael Wright
Browse files

Soften BitSet class comment.

std::bitset<> doesn't have exact replacements for all of the
functionality of BitSet32/64, so there are still places we want to use
these classes.

Bug: 160010896
Test: test BitSet_test.cpp
Change-Id: Ica59a138e014d82139fb6dcea0597a207faecc2a
parent 7c95de75
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -21,9 +21,12 @@
#include <utils/TypeHelpers.h>
#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 {
namespace android {