schema-salad-d ~master (2021-11-30T07:56:22Z)
Home
Dub
Repo
ArrayDispatchStatement
salad
meta
Undocumented in source.
template
ArrayDispatchStatement (
RetType
ArrayTypes
...
) {
import
std
.
format
:
format
;
;
import
std
.
range
:
ElementType
;
;
alias
T
=
ElementType
!(
ArrayTypes
[
0
])
;
static if
(
ArrayTypes.length == 1
)
static if
(
isEither!T
)
enum
ArrayDispatchStatement
;
static if
(
ArrayTypes.length == 1
)
static if
(!(
isEither!T
))
enum
ArrayDispatchStatement
;
}
Members
Aliases
T
alias
T
=
ElementType
!(
ArrayTypes
[
0
])
Undocumented in source.
Manifest constants
ArrayDispatchStatement
enum
ArrayDispatchStatement
;
Undocumented in source.
ArrayDispatchStatement
enum
ArrayDispatchStatement
;
Undocumented in source.
Meta
Source
See Implementation
salad
meta
enums
hasIdentifier
isConstantMember
functions
ctorStr
stripLeftAll
mixin templates
genCtor
genIdentifier
genToString
structs
documentRoot
id
idMap
typeDSL
templates
ArrayDispatchStatement
Assign
Assign_
DispatchFun
DocumentRootType
EnumDispatchStatement
IdentifierType
RecordDispatchStatement