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(T value)
  6. this(const(T) value)
  7. this(const(T) value)
  8. this(immutable(T) value)
  9. this(immutable(T) value)
  10. this(Value value)
  11. this(Value value)
  12. this(inout(SumType) other)
  13. this(SumType other)
  14. this(SumType other)
  15. this(const(SumType) other)
  16. this(const(SumType) other)
  17. 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)) && allSatisfy!(isInout, Map!(InoutOf, Types))))
    static if(allSatisfy!(isCopyable, Map!(ImmutableOf, Types)))
    this
    (
    ref immutable(SumType) other
    )
    if (
    is(NoDuplicates!Types == Types) &&
    )
  18. this(immutable(SumType) other)
  19. this()

Meta