Returns the number of bit positions in self
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(bitset_type), | intent(in) | :: | self |
elemental function bits(self) !! Version: experimental !! !! Returns the number of bit positions in `self`. integer(bits_kind) :: bits class(bitset_type), intent(in) :: self bits = self % num_bits return end function bits