The OpenD Programming Language

VariantN.this

Allows assignment from a subset algebraic type

  1. this(T value)
  2. this(T value)
    struct VariantN(size_t maxDataSize, AllowedTypesParam...)
    this
    (
    T : VariantN!(tsize, Types)
    size_t tsize
    Types...
    )
    ()
    if (
    !is(T : VariantN) &&
    Types.length > 0
    &&
    )

Meta