phobos-next v0.1.0 (2016-04-10T11:57:37Z)
Home
Dub
Repo
substSwitch.substSwitch
comparison_ex
substSwitch
Undocumented in source. Be warned that the author may not have intended to support it.
template
substSwitch
(substs...)
Value
substSwitch
(
Value
)
(
Value
value
)
if
(
haveCommonType
!(
Value
,
substs
)
)
if
(
(
substs.length
& 1
)
== 0 &&
substs.length
>= 2
&&
isExpressionTuple
!
substs
&&
haveCommonType
!(
substs
)
)
Meta
Source
See Implementation
comparison_ex
substSwitch
functions
substSwitch