dextool v4.0.0 (2021-09-08T15:39:18Z)
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.