Return the index of the first set bit in a bitset, or bitset.size() if none.
Declared in <folly/container/StdBitset.h>
template<size_t N>
size_t
std_bitset_find_first(std::bitset<N> const& bitset) noexcept;
This function is defined as an Algorithm Function Object (AFO).
The index of the first set bit, or bitset.size() if none.
| Name | Description |
|---|---|
| bitset | The bitset to search. |