Variant.this

Constructs this $(D_PSYMBOL Variant) with one of the types supported in it.

  1. this(T value)
    struct Variant
    this
    (
    T
    )
    (
    ref T value
    )
    if ()
  2. this(T value)

Parameters

T

Type of the initial value.

value T

Initial value.

Meta