SuperStruct.opCast

Extract the wrapped value of type T from the SuperStruct. Throws a VariantException if conversion to T is not possible.

struct SuperStruct(SubTypes...)
opCast
(
T
)
()
if (
staticIndexOf!(T, SubTypes) >= 0
)

Meta