pub fn initEmpty(allocator: Allocator, bit_length: usize) !Self
Creates a bit set with no elements present. If bit_length is not zero, deinit must eventually be called.
allocator: Allocator
bit_length: usize
709 710 711 712 713
pub fn initEmpty(allocator: Allocator, bit_length: usize) !Self { var self = Self{}; try self.resize(allocator, bit_length, false); return self; }
Creates a bit set with no elements present. If bit_length is not zero, deinit must eventually be called.