VariantG.this

Template to create a new VariantG from a single D value.

  1. this(T val)
    class VariantG
    this
    (
    T
    )
    (
    T val
    )
    if (
    !is(T == void*)
    )
  2. this(T vals)

Parameters

T

The D type to create the variant from

val T

The value to assign