get.get

The actual get function.

template get(T)
ref
T
get
(
Self
)
(
auto ref Self self
)
if ()

Parameters

self Self

the SumType whose value is being accessed.

Return Value

Type: T

the SumType's value.

Meta