autoformat ~master (2021-06-01T21:25:09Z)
Dub
Repo
AllReturn
my
sumtype
All return types from
Args
.
template
AllReturn (
Args
...
)
if
(
Args
.
length
>= 1
) {
import
std
.
meta
:
AliasSeq
;
;
import
std
.
traits
:
ReturnType
;
;
alias
AllReturn
=
ReturnType
!(
Args
[
0
])
;
alias
AllReturn
=
AliasSeq
!(
ReturnType
!(
Args
[
0
]),
AllReturn
!(
Args
[
1
..$]))
;
}
Members
Aliases
AllReturn
alias
AllReturn
=
ReturnType
!(
Args
[
0
])
Undocumented in source.
AllReturn
alias
AllReturn
=
AliasSeq
!(
ReturnType
!(
Args
[
0
]),
AllReturn
!(
Args
[
1
..$]))
Undocumented in source.
Meta
Source
See Implementation
my
sumtype
aliases
SumTypeFromReturn
functions
contains
ignore
templates
AllReturn
restrictTo
All return types from Args.