Variant.get

T get(T)()

Template to get a single value from a Variant

Parameters

TThe D type of the value to get

Returns

The single value of the Variant of type T
auto get(T...)() if (T.length > 1)

Template to get multiple values from a container Variant.

Parameters

TThe D types of the values to get

Returns

A tuple containing the values from the Variant of the specified types