get

Accesses a SumType's value.

The value must be of the specified type. Use has to check.

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

Members

Functions

get
T get(Self self)
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

T

the type of the value being accessed.

Meta