SumType.this

Constructs a SumType holding a specific value.

  1. this(T value)
  2. this(const(T) value)
    struct SumType(Types...)
    const
    static if(isCopyable!(const(T)))
    static if(IndexOf!(const(T), Map!(ConstOf, Types)) == tid)
    this
    (
    const(T) value
    )
    if (
    is(NoDuplicates!Types == Types) &&
    )
  3. this(immutable(T) value)
  4. this(Value value)
  5. this(inout(SumType) other)
  6. this(SumType other)
  7. this(const(SumType) other)
  8. this(immutable(SumType) other)

Meta