Zig Version
0.14.0-dev.2384+cbc05e0b1
Steps to Reproduce and Observed Behavior
var map = std.DynamicBitSet.initEmpty(allocator, 100);
map.unsetAll(); // error
However, unsetAll and setAll functions exist but they're not exposed in the DynamicBitSet although they can be called through map.unmanaged.unsetAll/setAll.
I think it'd make sense to have wrappers for these just like there are for most other operations, like f.ex. toggleAll:
pub fn toggleAll(self: *Self) void {
self.unmanaged.toggleAll();
}
Expected Behavior
var map = std.DynamicBitSet.initEmpty(allocator, 100);
map.unsetAll(); // compiles
map.setAll(); // compiles
Zig Version
0.14.0-dev.2384+cbc05e0b1
Steps to Reproduce and Observed Behavior
However,
unsetAllandsetAllfunctions exist but they're not exposed in the DynamicBitSet although they can be called throughmap.unmanaged.unsetAll/setAll.I think it'd make sense to have wrappers for these just like there are for most other operations, like f.ex.
toggleAll:Expected Behavior