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(inout(SumType) other)
  7. this(SumType other)
  8. this(SumType other)
  9. this(const(SumType) other)
  10. this(const(SumType) other)
  11. this(immutable(SumType) other)
    struct SumType(Types...)
    immutable
    static if(anySatisfy!(hasElaborateCopyConstructor, Types))
    static if(!(allSatisfy!(isCopyable, Map!(InoutOf, Types)) && !anySatisfy!(hasPostblit, Map!(InoutOf, Types))))
    static if(allSatisfy!(isCopyable, Map!(ImmutableOf, Types)))
    this
    (
    ref immutable(SumType) other
    )
    if (
    is(NoDuplicates!Types == Types) &&
    )
  12. this(immutable(SumType) other)
  13. this()

Meta