The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
get
taggedalgebraic
taggedalgebraic
Gets the value stored in an algebraic type based on its kind.
inout
(
T
)
get
(inout(TaggedAlgebraic!U) ta)
inout
(
T
)
get
(inout(TaggedAlgebraic!U) ta)
ref
get
(inout(TaggedAlgebraic!U) ta)
auto
get
(inout(TaggedAlgebraic!U) ta)
auto
get
(
alias
kind
U
)
(
inout
(
TaggedAlgebraic
!
U
)
ta
)
if
(
is
(
typeof
(
kind
) ==
typeof
(
ta
).
Kind
)
)
Meta
Source
See Implementation
taggedalgebraic
taggedalgebraic
enums
safeOnly
functions
algebraic
apply
get
hasType
properties
disableIndex
structs
TaggedAlgebraic
Gets the value stored in an algebraic type based on its kind.