SumType.this

Constructs a SumType holding a specific value.

  1. this(T value)
  2. this(const(T) value)
  3. this(const(T) value)
  4. this(immutable(T) value)
  5. this(immutable(T) value)
  6. this(Value value)
    struct SumType(Types...)
    inout
    static if(isCopyable!(inout(T)))
    static if(IndexOf!(inout(T), Map!(InoutOf, Types)) == tid)
    this
    (
    Value
    )
    (
    Value value
    )
    if (
    is(Value == DeducedParameterType!(inout(T)))
    )
    if (
    is(NoDuplicates!Types == Types) &&
    )
  7. this(Value value)
  8. this(inout(SumType) other)
  9. this(SumType other)
  10. this(SumType other)
  11. this(const(SumType) other)
  12. this(const(SumType) other)
  13. this(immutable(SumType) other)
  14. this(immutable(SumType) other)
  15. this()

Meta