checkedint v0.1.1 (2016-01-25T13:30:11Z)
Dub
Repo
SafeInt.min
checkedint
SafeInt
Undocumented in source. Be warned that the author may not have intended to support it.
enum
min
;
auto
min
[@property getter]
struct
SafeInt
(N, bool bitOps = true, bool throws = true)
nothrow @
nogc
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
ilogb
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
popcnt
pow
toHash
toString
manifest constants
max
min
properties
bits
idx
variables
bscal