phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
dimensionality.count_dim
nxt
traits_ex
dimensionality
Undocumented in source.
template
dimensionality
(T)
template
count_dim (
uint
i
= 0
) {
static if
(
is(typeof(T.init.opSlice!i(0, 0)))
)
enum
count_dim
;
static if
(!(
is(typeof(T.init.opSlice!i(0, 0)))
))
static if
(
i == 0 && (isInputRange!T || is(typeof(T.init[0])))
)
enum
count_dim
;
static if
(!(
is(typeof(T.init.opSlice!i(0, 0)))
))
static if
(!(
i == 0 && (isInputRange!T || is(typeof(T.init[0])))
))
enum
count_dim
;
}
Members
Manifest constants
count_dim
enum
count_dim
;
Undocumented in source.
count_dim
enum
count_dim
;
Undocumented in source.
count_dim
enum
count_dim
;
Undocumented in source.
Meta
Source
See Implementation
nxt
traits_ex
dimensionality
aliases
dimensionality
templates
count_dim