SumType.this

Constructs a SumType that's a copy of another SumType

  1. this(T value)
  2. this(const(T) value)
  3. this(immutable(T) value)
  4. this(const(T) value)
  5. this(immutable(T) value)
  6. this(SumType other)
  7. this(const(SumType) other)
    struct SumType(TypeArgs...)
    const
    static if(allSatisfy!(isCopyable, Types))
    static if(anySatisfy!(hasElaborateCopyConstructor, Types))
    this
    (
    ref const(SumType) other
    )
    if (
    is(NoDuplicates!TypeArgs == TypeArgs) &&
    TypeArgs.length > 0
    )
  8. this(immutable(SumType) other)
  9. this()

Meta