phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
Merge1
nxt
meta_ex
@
safe
template
Merge1 (
A
...
)
if
(
!
(
A
.
length
& 1
)
) {
alias
Merge1
=
AliasSeq
!()
;
alias
Left
=
A
[
0
..$ /
2
]
;
alias
Right
=
A
[$ /
2
..$]
;
alias
Merge1
=
AliasSeq
!(
Left
[
0
],
Right
[
0
],
Merge1
!(
Left
[
1
..$],
Right
[
1
..$]))
;
}
Members
Aliases
Left
alias
Left
=
A
[
0
..$ /
2
]
Undocumented in source.
Merge1
alias
Merge1
=
AliasSeq
!()
Undocumented in source.
Merge1
alias
Merge1
=
AliasSeq
!(
Left
[
0
],
Right
[
0
],
Merge1
!(
Left
[
1
..$],
Right
[
1
..$]))
Undocumented in source.
Right
alias
Right
=
A
[$ /
2
..$]
Undocumented in source.
See Also
http://forum.dlang.org/post/sulxqtfprmkeekjatqup
@forum.dlang.org
Meta
Source
See Implementation
nxt
meta_ex
functions
forwardMap
mixin templates
RvalueRef
templates
FlattenedRanges
Merge
Merge1
TypesOf
from
staticAssignableTypeIndexOf
typeOf