unit-threaded v0.7.1 (2016-12-09T12:11:11Z)
Home
Dub
Repo
Gen
unit_threaded
randomized
gen
Undocumented in source.
struct
Gen
(T, T low = minimum!T, T high = maximum!T)
struct
Gen
(T, T low = 0, T high = 6.022E23)
struct
Gen
(T, size_t low = 0, size_t high = 32)
struct
Gen
(T, size_t low = 1, size_t high = 1024)
struct
Gen (
T
size_t
low
= 1
size_t
high
= 1024
)
if
(
isInputRange
!
T
&&
!
isSomeString
!
T
) {
import
std
.
traits
:
Unqual
,
isIntegral
,
isFloatingPoint
;
;
import
std
.
traits
:
Unqual
,
isIntegral
,
isFloatingPoint
;
;
import
std
.
traits
:
Unqual
,
isIntegral
,
isFloatingPoint
;
;
alias
Value
=
T
;
alias
E
=
Unqual
!(
ElementType
!
T
)
;
T
value
;
Gen
!
E
elementGen
;
T
gen
(Random rnd);
}
struct
Gen
(T)
struct
Gen
(T, T low = minimum!T, T high = maximum!T)
struct
Gen
(T)
Alias This
value
Members
Aliases
E
alias
E
=
Unqual
!(
ElementType
!
T
)
Undocumented in source.
Value
alias
Value
=
T
Undocumented in source.
Functions
gen
T
gen
(Random rnd)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
elementGen
Gen
!
E
elementGen
;
Undocumented in source.
value
T
value
;
Undocumented in source.
Meta
Source
See Implementation
unit_threaded
randomized
gen
mixin templates
GenNumeric
structs
Gen
GenASCIIString
templates
isGen