SumType.typeIndex

Returns the index of the type of the SumType's current value in the SumType's Types.

If the SumType is qualified, then its qualifiers are applied to Types before determining the index.

struct SumType(Types...)
private public const
size_t
typeIndex
()
if (
is(NoDuplicates!Types == Types) &&
)

Meta