You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
I'd expect the first and last columns to have the same value. And looking at the setAll() implementation, it doesn't seem to handle the last padded bitset word.
nurpax
added a commit
to nurpax/zig
that referenced
this issue
Dec 22, 2024
Zig Version
0.14.0-dev.2384+cbc05e0b1
Steps to Reproduce and Observed Behavior
However,
unsetAll
andsetAll
functions 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
The text was updated successfully, but these errors were encountered: