phobos-next v0.3.8 (2020-08-04T23:11:21Z)
Home
Dub
Repo
allSameRecursive.allSameRecursive
nxt
traits_ex
allSameRecursive
Undocumented in source.
enum
allSameRecursive
;
enum
allSameRecursive
;
template
allSameRecursive
(V...)
static if
(!(
V.length <= 1
))
static if
(
V.length & 1
)
enum
allSameRecursive
=
(
V
[
0
] ==
V
[$ -
1
] &&
V
[
0
.. $ /
2
] ==
V
[$ /
2
.. $ -
1
] &&
allSameRecursive
!(
V
[
0
..$ /
2
]))
;
enum
allSameRecursive
;
Meta
Source
See Source File
nxt
traits_ex
allSameRecursive
manifest constants
allSameRecursive