tanya ~master (2021-06-04T07:37:50Z)
Dub
Repo
parseSpecs.parseSpecs
tanya
typecons
Tuple
parseSpecs
Undocumented in source.
alias
parseSpecs
=
AliasSeq
!()
alias
parseSpecs
=
AliasSeq
!(
Pack
!(
Specs
[
0
],
Specs
[
1
]),
parseSpecs
!(
fieldCount
+
1
,
Specs
[
2
..$]))
alias
parseSpecs
=
AliasSeq
!(
Pack
!(
Specs
[
0
]),
parseSpecs
!(
fieldCount
+
1
,
Specs
[
1
..$]))
template
parseSpecs
(size_t fieldCount, Specs...)
static if
(!(
Specs.length == 0
))
static if
(
is(Specs[0]) && fieldCount < 2
)
static if
(!(
is(typeof(Specs[1]) == string)
))
alias
parseSpecs
=
AliasSeq
!(
Pack
!(
Specs
[0]),
parseSpecs
!(
fieldCount
+ 1,
Specs
[1..$]))
Meta
Source
See Implementation
tanya
typecons
Tuple
parseSpecs
aliases
parseSpecs