phobos-next v0.3.7 (2020-07-28T23:34:39Z)
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