get - multiple declarations
Function get
Gets the value stored in an algebraic type based on its data type.
ref inout(T) get(T, U)
(
ref inout(TaggedAlgebraic!U) ta
);
inout(T) get(T, U)
(
inout(TaggedAlgebraic!U) ta
);
Function get
Gets the value stored in an algebraic type based on its kind.
ref auto get(alias kind, U)
(
ref inout(TaggedAlgebraic!U) ta
)
if (is(typeof(kind) == typeof(ta) .Kind));
auto get(alias kind, U)
(
inout(TaggedAlgebraic!U) ta
)
if (is(typeof(kind) == typeof(ta) .Kind));