sbin ~master (2021-09-16T14:18:39Z)
Dub
Repo
TaggedTypeByTag.r
sbin
type
TaggedTypeByTag
Undocumented in source.
alias
r
=
TypeOf
!
tag
alias
r
=
T
.
AllowedTypes
[
indexOf
(
getTaggedAllTags
!
T
,
tag
)]
template
TaggedTypeByTag
(T, alias tag)
package
static if
(!(
isTagged!(T).isTaggedAlgebraic
))
static if
(
isTagged!(T).isMirAlgebraic
)
alias
r
=
T.AllowedTypes
[
indexOf
(
getTaggedAllTags
!
T
,
tag
)]
alias
r
=
T
.
Types
[
tag
]
Meta
Source
See Implementation
sbin
type
TaggedTypeByTag
aliases
TaggedTypeByTag
r
functions
indexOf