SumType.this

Constructs a SumType holding a specific value.

  1. this(T val)
  2. this(const(T) val)
    struct SumType(TypeArgs...)
    const
    static if(isCopyable!T)
    this
    ()
    (
    auto ref const(T) val
    )
    if (
    is(NoDuplicates!TypeArgs == TypeArgs) &&
    TypeArgs.length > 0
    )
  3. this(immutable(T) val)
  4. this(const(T) val)
  5. this(immutable(T) val)
  6. this()

Meta