phobos-next ~master (2024-03-19T05:49:32Z)
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