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)
ref
ref
get
(
alias
kind
U
)
(
ref
inout
(
TaggedAlgebraic
!
U
)
ta
)
if
(
is
(
typeof
(
kind
) ==
typeof
(
ta
).
Kind
)
)
auto
get
(inout(TaggedAlgebraic!U) ta)
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.