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(Value value)
  5. this(inout(SumType) other)
  6. this(SumType other)
  7. this(const(SumType) other)
    struct SumType(Types...)
    const
    static if(anySatisfy!(hasElaborateCopyConstructor, Types))
    static if(!(allSatisfy!(isCopyable, Map!(InoutOf, Types)) && !anySatisfy!(hasPostblit, Map!(InoutOf, Types)) && allSatisfy!(isInout, Map!(InoutOf, Types))))
    static if(allSatisfy!(isCopyable, Map!(ConstOf, Types)))
    this
    (
    ref const(SumType) other
    )
    if (
    is(NoDuplicates!Types == Types) &&
    )
  8. this(immutable(SumType) other)

Meta