checkedint v0.1.1 (2016-01-25T13:30:11Z)
Dub
Repo
SafeInt
checkedint
Undocumented in source.
template
SafeInt
(N, bool bitOps = true, bool throws = true)
@
safe
template
SafeInt (
N
bool
bitOps
= true
bool
throws
= true
)
if
(
isCheckedInt
!
N
||
(
isIntegral
!
N
&&
!
isUnqual
!
N
)
) {
alias
SafeInt
=
SafeInt
!(
BasicScalar
!
N
,
bitOps
,
throws
)
;
}
struct
SafeInt
(N, bool bitOps = true, bool throws = true)
Members
Aliases
SafeInt
alias
SafeInt
=
SafeInt
!(
BasicScalar
!
N
,
bitOps
,
throws
)
Undocumented in source.
Meta
Source
See Implementation
checkedint
modules
flags
noex
safeop
smartop
tests
traits
enums
isCheckedInt
isSafeInt
isSmartInt
functions
to
properties
bits
bscal
idx
templates
BasicScalar
SafeInt
SmartInt
hasBitOps
isThrowingCInt