checkedint v0.7.0 (2020-04-18T21:41:28Z)
Dub
Repo
SmartInt.bscal
checkedint
SmartInt
Undocumented in source. Be warned that the author may not have intended to support it.
N
bscal
;
inout
(
N
)
bscal
[@property getter]
struct
SmartInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
@
property
ref return inout pure @
safe
nothrow @
nogc
static if
(!(
bitOps
))
inout
(
N
)
bscal
(
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
Meta
Source
See Implementation
checkedint
SmartInt
constructors
this
functions
abs
bsf
bsr
divPow2
ilogb
modPow2
mulPow2
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
popcnt
pow
toHash
toString
properties
bits
idx
variables
bscal
max
min
policy