Function Variant.this

Constructs this Variant with one of the types supported in it.

this(T) (
  ref T value
)
if (canFind!(T, Types));

this(T) (
  T value
)
if (canFind!(T, Types));

Parameters

NameDescription
T Type of the initial value.
value Initial value.