phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
isAllOneBits.isAllOneBits
nxt
bit_traits
isAllOneBits
Undocumented in source.
enum
isAllOneBits
;
enum
isAllOneBits
;
template
isAllOneBits
(T, T value)
static if
(
isIntegral!T || isSomeChar!T
)
static if
(!(
T.min < T(0)
))
enum
isAllOneBits
=
popcnt
(
value
) ==
T.sizeof
*
8
;
enum
isAllOneBits
;
enum
isAllOneBits
;
enum
isAllOneBits
;
Meta
Source
See Source File
nxt
bit_traits
isAllOneBits
manifest constants
isAllOneBits