Finds the first bit that matches the test value. Returns the index of the first matching bit, or -1 if none found. @param test_value The value to search for (true or false) @param offset Starting position to search from (default: 0)
| 616 | /// @param test_value The value to search for (true or false) |
| 617 | /// @param offset Starting position to search from (default: 0) |
| 618 | fl::i32 find_first(bool test_value, fl::u32 offset = 0) const FL_NOEXCEPT { |
| 619 | if (_storage.template is<fixed_bitset>()) { |
| 620 | return _storage.template ptr<fixed_bitset>()->find_first(test_value, offset); |
| 621 | } else { |
| 622 | return _storage.template ptr<bitset_dynamic>()->find_first(test_value, offset); |
| 623 | } |
| 624 | } |
| 625 | |
| 626 | /// Bitwise operators |
| 627 | friend bitset_inlined operator~(const bitset_inlined &bs) FL_NOEXCEPT { |
nothing calls this directly
no test coverage detected