checkedint v0.4.4 (2016-06-05T09:26:21Z)
Dub
Repo
SafeInt.min
checkedint
SafeInt
Undocumented in source. Be warned that the author may not have intended to support it.
enum
SafeInt
!(
N
,
policy
,
bitOps
)
min
;
auto
min
[@property getter]
struct
SafeInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
static @
property
pure nothrow @
nogc
static if
(!(
__VERSION__ >= 2067
))
auto
min
(
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
Meta
Source
See Implementation
checkedint
SafeInt
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