tanya ~master (2021-06-04T07:37:50Z)
Dub
Repo
Min.Min
tanya
meta
metafunction
Min
Undocumented in source.
alias
Min
=
Alias
!(
Args
[
0
])
alias
Min
=
Min
!(
pred
,
Args
[
1
],
Args
[
2
..$])
template
Min
(alias pred, Args...)
static if
(!(
Args.length == 1
))
static if
(
isLess!(pred, Args[1], Args[0])
)
alias
Min
=
Min
!(
pred
,
Args
[1],
Args
[2..$])
alias
Min
=
Min
!(
pred
,
Args
[
0
],
Args
[
2
..$])
Meta
Source
See Implementation
tanya
meta
metafunction
Min
aliases
Min