phobos-next v0.5.1 (2022-12-21T17:07:30Z)
Home
Dub
Repo
isInitAllZeroBits
nxt
bit_traits
Undocumented in source.
template
isInitAllZeroBits (
T
) {
static if
(
__traits(compiles, )
)
enum
isInitAllZeroBits
;
static if
(!(
__traits(compiles, )
))
static if
(
T.sizeof == 0
)
enum
isInitAllZeroBits
;
static if
(!(
__traits(compiles, )
))
static if
(!(
T.sizeof == 0
))
static if
(
__traits(isStaticArray, T) && __traits(compiles, T.init[0])
)
enum
isInitAllZeroBits
;
static if
(!(
__traits(compiles, )
))
static if
(!(
T.sizeof == 0
))
static if
(!(
__traits(isStaticArray, T) && __traits(compiles, T.init[0])
))
enum
isInitAllZeroBits
;
}
Members
Manifest constants
isInitAllZeroBits
enum
isInitAllZeroBits
;
Undocumented in source.
isInitAllZeroBits
enum
isInitAllZeroBits
;
Undocumented in source.
isInitAllZeroBits
enum
isInitAllZeroBits
;
Undocumented in source.
isInitAllZeroBits
enum
isInitAllZeroBits
;
Undocumented in source.
Meta
Source
See Implementation
nxt
bit_traits
templates
bitsNeeded
isAllOneBits
isAllZeroBits
isInitAllOneBits
isInitAllZeroBits
packedBitSizeOf