phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
BitArray.countOnes
nxt
container
bitarray
BitArray
Get number of bits set (to one).
struct
BitArray
(bool blockAlignedLength = false, alias Allocator = null)
pure nothrow @
safe
@
nogc
const
size_t
countOnes
()
(
)
Meta
Source
See Implementation
nxt
container
bitarray
BitArray
aliases
opDollar
destructors
~this
functions
allOne
allZero
clear
countOnes
countZeros
dup
indexOfFirstOne
indexOfFirstZero
opCast
opEquals
opIndex
opIndexAssign
opSliceAssign
postblits
this(this)
properties
capacity
length
Get number of bits set (to one).