phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
UnsignedOfSameSizeAs
nxt
bitop_ex
Get an unsigned type of size as
T
if possible.
@
safe
pure nothrow @
nogc
template
UnsignedOfSameSizeAs (
T
) {
@
safe
pure nothrow @
nogc
enum
nBits
;
}
Meta
Source
See Implementation
nxt
bitop_ex
functions
getHighestBit
getLowestBit
makeBit
resetBit
resetHighestBit
resetLowestBit
setBit
setHighestBit
setLowestBit
testBit
templates
UnsignedOfSameSizeAs
Get an unsigned type of size as T if possible.