phobos-next ~master (2024-03-19T05:49:32Z)
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